Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit b7e8136

Browse files
dynamic server
1 parent bdab21f commit b7e8136

25 files changed

+117
-2117
lines changed

ClipSyncAndroid/app/build.gradle

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android {
66
enable true
77
reset()
88
// include 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a'
9-
include 'x86', 'armeabi-v7a'
9+
include 'armeabi-v7a'
1010
universalApk false
1111
}
1212
}
@@ -15,8 +15,8 @@ android {
1515
applicationId "com.pishangujeniya.clipsync"
1616
minSdkVersion 23
1717
targetSdkVersion 28
18-
versionCode 15
19-
versionName "1.5"
18+
versionCode 16
19+
versionName "1.6"
2020
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
2121
multiDexEnabled true
2222
}
@@ -32,7 +32,7 @@ android {
3232
exclude 'lib/getLibs.sh'
3333
exclude 'lib/gson-2.8.2.jar'
3434
}
35-
buildToolsVersion '28.0.3'
35+
buildToolsVersion '29.0.2'
3636
}
3737
repositories {
3838
mavenCentral()
@@ -52,12 +52,7 @@ dependencies {
5252
//Glide
5353
implementation 'com.github.bumptech.glide:glide:4.7.1'
5454
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
55-
// MikePenz Material Drawer
56-
// implementation("com.mikepenz:materialdrawer:6.0.8@aar") {
57-
// transitive = true
58-
// }
59-
//iOS AlertDialog
60-
implementation 'com.gdacciaro:iosdialog:1.0.3'
55+
6156
//Permissions
6257
implementation 'pub.devrel:easypermissions:2.0.0'
6358
// NETWORKING
@@ -67,7 +62,7 @@ dependencies {
6762
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
6863
// SignalR Library
6964
// implementation files('libs/gson-2.2.2.jar')
70-
implementation 'com.google.code.gson:gson:2.8.2'
65+
implementation 'com.google.code.gson:gson:2.8.5'
7166
implementation files('libs/signalr-client-sdk-android.jar')
7267
implementation files('libs/signalr-client-sdk.jar')
7368
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"outputType":{"type":"APK"},"apkInfo":{"type":"FULL_SPLIT","splits":[{"filterType":"ABI","value":"x86"}],"versionCode":15,"versionName":"1.5","enabled":true,"filterName":"x86","outputFile":"app-x86-release.apk","fullName":"x86Release","baseName":"x86-release"},"path":"app-x86-release.apk","properties":{}},{"outputType":{"type":"APK"},"apkInfo":{"type":"FULL_SPLIT","splits":[{"filterType":"ABI","value":"armeabi-v7a"}],"versionCode":15,"versionName":"1.5","enabled":true,"filterName":"armeabi-v7a","outputFile":"app-armeabi-v7a-release.apk","fullName":"armeabi-v7aRelease","baseName":"armeabi-v7a-release"},"path":"app-armeabi-v7a-release.apk","properties":{}}]
1+
[{"outputType":{"type":"APK"},"apkData":{"type":"FULL_SPLIT","splits":[{"filterType":"ABI","value":"armeabi-v7a"}],"versionCode":16,"versionName":"1.6","enabled":true,"filterName":"armeabi-v7a","outputFile":"app-armeabi-v7a-release.apk","fullName":"armeabi-v7aRelease","baseName":"armeabi-v7a-release"},"path":"app-armeabi-v7a-release.apk","properties":{}}]

ClipSyncAndroid/app/src/main/AndroidManifest.xml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,41 @@
55

66
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
77
<uses-permission android:name="android.permission.INTERNET" />
8+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
89

910
<permission
1011
android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
1112
android:protectionLevel="signature" />
1213

1314
<application
15+
android:usesCleartextTraffic="true"
1416
android:allowBackup="false"
1517
android:icon="@drawable/clip_sync_logo_2"
1618
android:label="@string/app_name"
1719
android:roundIcon="@drawable/clip_sync_logo_2"
1820
android:supportsRtl="true"
1921
android:theme="@style/AppTheme"
2022
tools:replace="android:allowBackup">
21-
<activity android:name=".SignUpActivity" />
22-
<activity android:name=".LoginActivity">
23-
<intent-filter>
24-
<action android:name="android.intent.action.MAIN" />
25-
<!-- <category android:name="android.intent.category.DEFAULT" /> -->
26-
<category android:name="android.intent.category.LAUNCHER" />
27-
</intent-filter>
28-
</activity>
29-
<activity
30-
android:name=".DashBoard"
31-
android:label="@string/title_activity_dash_board" />
32-
<activity android:name=".ClipMainActivity" />
3323

3424
<service
3525
android:name=".service.ClipBoardMonitor"
3626
android:exported="false"
37-
android:label="Clipboard Monitor"
38-
/>
27+
android:label="Clipboard Monitor" />
3928
<service
4029
android:name=".service.SignalRService"
4130
android:exported="false"
4231
android:label="ClipSync SignalR"
4332

4433
/>
4534

46-
<activity android:name=".ControlsActivity"></activity>
35+
<activity android:name=".ControlsActivity">
36+
<intent-filter>
37+
<action android:name="android.intent.action.MAIN" />
38+
<!-- <category android:name="android.intent.category.DEFAULT" /> -->
39+
<category android:name="android.intent.category.LAUNCHER" />
40+
</intent-filter>
41+
</activity>
4742
</application>
4843

4944

50-
51-
</manifest>
45+
</manifest>

0 commit comments

Comments
 (0)