Skip to content

Commit

Permalink
v3.3:
Browse files Browse the repository at this point in the history
Decreased requesting permission loading time

before:
Proxy can now properly be turned off
Removed on boot setting as that happens automatically
Easier setup and better layout
Live external IP view
Remember: turning off wifi works better!
Added clearer loading screen and easier setup
ADB over Bluetooth only needs to be enabled the first time
Faster proxy switching with WRITE_SECURE_SETTINGS
  • Loading branch information
Jolanrensen committed Oct 19, 2019
1 parent 839ee6d commit 8c7eece
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "nl.jolanrensen.permanentproxy"
minSdkVersion 23
targetSdkVersion 29
versionCode 8
versionName "3.2"
versionCode 9
versionName "3.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "nl.jolanrensen.permanentproxy"
minSdkVersion 23
targetSdkVersion 29
versionCode 8
versionName "3.2"
versionCode 9
versionName "3.3"
}
buildTypes {
release {
Expand Down
Binary file modified wear/release/mobile-release.apk
Binary file not shown.
Binary file modified wear/release/wear-release.aab
Binary file not shown.
Binary file modified wear/release/wear-release.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class RequestPermissionActivity : WearableActivity() {
ip = "localhost",
port = Constants.PORT,
command = "pm grant \\\nnl.jolanrensen.permanentproxy \\\nandroid.permission.WRITE_SECURE_SETTINGS",
timeout = 4000,
timeout = 2000,
ctrlC = false
) {
currentADBProcess = null
Expand Down
2 changes: 1 addition & 1 deletion wear/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<string name="show_me_how">How to enable ADB over Bluetooth?</string>
<string name="title_activity_enable_adbbluetooth">EnableADBBluetoothActivity</string>
<string name="instructions"><![CDATA[Please read carefully:\nTo get started, first enable the Developer Options of your watch, which can be achieved by going to Settings -> System -> About and tap the Build number until you are a \"developer\".\nNext, go to Settings -> Developer options and enable \"ADB debugging\" and \"Debug over Bluetooth\".\nFinally start up Permanent Proxy, request permission and press \"Allow\" or \"Always allow this Computer\" if prompted.\nAfter the app has gotten permission, ADB can be turned off again unless you want to disable the proxy.\n\nNow you can get started! Simply enter a proxy address and port, enable it and you\'re done! If you reboot, the proxy will remain.\n\nProxy services can be found online and can be from any country. However, do make sure your proxy works and you completely trust the proxy you chose before you enter it! All the data of your watch might be sent through that proxy, even sensitive data, so act at your own risk.]]></string>
<string name="requesting_permission">Requesting permission, this can take a while… \"Allow\" or \"Always allow computer\" if prompted.\n\nNote: the app works best with WiFi turned OFF.</string>
<string name="requesting_permission">Requesting permission, this can take up to 20s… \"Allow\" or \"Always allow computer\" if prompted.\n\nNote: the app works best with WiFi turned OFF.</string>
<string name="wss_permission_needed">Write secure settings permission needed. This can be enabled via ADB over Bluetooth.</string>
<string name="request_permission">ADB over Bluetooth is enabled, request permission!</string>
<string name="permission_granted">Permission granted,\nADB can be turned off.</string>
Expand Down

0 comments on commit 8c7eece

Please sign in to comment.