forked from QuantumLeaper/upx-android-miner
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from n3alz/dev
Update to v4.0
- Loading branch information
Showing
195 changed files
with
13,179 additions
and
2,596 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ gradle/ | |
/local.properties | ||
.idea/ | ||
.DS_Store | ||
/app/build | ||
/build | ||
/captures | ||
.externalNativeBuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/build | ||
/release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,46 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion "28.0.3" | ||
compileSdkVersion 30 | ||
buildToolsVersion '30.0.3' | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
sourceCompatibility '1.8' | ||
targetCompatibility '1.8' | ||
} | ||
|
||
|
||
defaultConfig { | ||
applicationId "upx.uplexa.androidminer" | ||
minSdkVersion 19 | ||
targetSdkVersion 26 | ||
versionCode 3 | ||
versionName "3.1" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
|
||
applicationId "com.uplexa.androidminer" | ||
minSdkVersion 21 | ||
targetSdkVersion 28 | ||
versionCode 4 | ||
versionName "4.0" | ||
buildConfigField "long", "BUILD_TIME", System.currentTimeMillis() + "L" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
vectorDrawables.useSupportLibrary = false | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
minifyEnabled false // Disable it for now, problem while fetching Json data for Pool API | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
|
||
} | ||
|
||
dependencies { | ||
|
||
implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
|
||
implementation 'com.android.support:design:26.1.0' | ||
implementation 'com.android.support:appcompat-v7:26.1.0' | ||
implementation 'com.android.support:support-v4:26.1.0' | ||
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' | ||
//noinspection GradleDependency | ||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' // Keep the version 1.1.3 | ||
//noinspection GradleDependency | ||
implementation 'com.google.android.material:material:1.1.0' // Keep the version 1.1.0 | ||
implementation 'com.github.KingsMentor:MobileVisionBarcodeScanner:2.0.0' | ||
//noinspection GradleDependency | ||
implementation 'androidx.appcompat:appcompat:1.1.0' // Keep the version 1.1.0 | ||
implementation 'androidx.legacy:legacy-support-v4:1.0.0' | ||
implementation 'org.ocpsoft.prettytime:prettytime:4.0.2.Final' | ||
implementation 'com.android.volley:volley:1.1.1' | ||
implementation 'com.github.anastr:speedviewlib:1.5.2' | ||
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.10' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,91 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest package="upx.uplexa.androidminer" | ||
<manifest package="io.uplexaproject.androidminer" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET"/> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.WAKE_LOCK" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:usesCleartextTraffic="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme"> | ||
<activity android:name=".MainActivity" android:windowSoftInputMode="stateAlwaysHidden" android:theme="@style/AppTheme.NoActionBar"> | ||
|
||
<meta-data | ||
android:name="com.google.android.gms.vision.DEPENDENCIES" | ||
android:value="barcode" /> | ||
|
||
<meta-data | ||
android:name="com.google.firebase.messaging.default_notification_icon" | ||
android:resource="@drawable/ic_notification" /> | ||
|
||
<meta-data | ||
android:name="com.google.firebase.messaging.default_notification_color" | ||
android:resource="@color/c_white" /> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.MainActivity" | ||
android:configChanges="orientation|screenSize" | ||
android:windowSoftInputMode="adjustPan|stateHidden" | ||
android:theme="@style/AppTheme.NoActionBar"> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.SplashActivity"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
|
||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.QrCodeScannerActivity" | ||
android:parentActivityName="io.uplexaproject.androidminer.MainActivity"> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.WizardHomeActivity" | ||
android:parentActivityName="io.uplexaproject.androidminer.MainActivity"> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.WizardAddressActivity" | ||
android:parentActivityName="io.uplexaproject.androidminer.MainActivity"> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.WizardPoolActivity" | ||
android:parentActivityName="io.uplexaproject.androidminer.MainActivity"> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.WizardSettingsActivity" | ||
android:parentActivityName="io.uplexaproject.androidminer.MainActivity"> | ||
</activity> | ||
|
||
<activity | ||
android:name="io.uplexaproject.androidminer.BaseActivity" | ||
android:parentActivityName="io.uplexaproject.androidminer.MainActivity"> | ||
</activity> | ||
|
||
<service | ||
android:name=".MiningService" | ||
android:name="io.uplexaproject.androidminer.MiningService" | ||
android:enabled="true"/> | ||
|
||
<receiver | ||
android:name="io.uplexaproject.androidminer.NotificationsReceiver" | ||
android:enabled="true"> | ||
<intent-filter> | ||
<action android:name="OPEN_ACTION"/> | ||
<action android:name="STOP_ACTION"/> | ||
</intent-filter> | ||
</receiver> | ||
|
||
</application> | ||
|
||
</manifest> | ||
</manifest> |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"api": { | ||
"id": null, | ||
"worker-id": null | ||
}, | ||
"http": { | ||
"enabled": false, | ||
"host": "127.0.0.1", | ||
"port": 0, | ||
"access-token": null, | ||
"restricted": true | ||
}, | ||
"autosave": false, | ||
"version": 1, | ||
"background": false, | ||
"colors": false, | ||
"randomx": { | ||
"init": -1, | ||
"numa": false | ||
}, | ||
"cpu": { | ||
"enabled": true, | ||
"huge-pages": true, | ||
"hw-aes": null, | ||
"priority": 3, | ||
"asm": false, | ||
"argon2-impl": null, | ||
"*": $cpuconfig$ | ||
}, | ||
"donate-level": 0, | ||
"donate-over-proxy": 0, | ||
"log-file": null, | ||
"pools": [ | ||
{ | ||
"algo": "$algo$", | ||
"url": "$url$", | ||
"user": "$username$", | ||
"pass": "$pass$", | ||
"rig-id": null, | ||
"nicehash": false, | ||
"keepalive": false, | ||
"enabled": true, | ||
"tls": false, | ||
"tls-fingerprint": null, | ||
"daemon": false | ||
} | ||
], | ||
"print-time": 30, | ||
"retries": 5000, | ||
"retry-pause": 5, | ||
"syslog": false, | ||
"user-agent": null, | ||
"watch": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.