Showing
8 changed files
with
61 additions
and
51 deletions
demo/.idea/compiler.xml
0 → 100644
... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
14 | </set> | 14 | </set> |
15 | </option> | 15 | </option> |
16 | <option name="resolveModulePerSourceSet" value="false" /> | 16 | <option name="resolveModulePerSourceSet" value="false" /> |
17 | + <option name="useQualifiedModuleNames" value="true" /> | ||
17 | </GradleProjectSettings> | 18 | </GradleProjectSettings> |
18 | </option> | 19 | </option> |
19 | </component> | 20 | </component> | ... | ... |
demo/.idea/jarRepositories.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="RemoteRepositoriesConfiguration"> | ||
4 | + <remote-repository> | ||
5 | + <option name="id" value="central" /> | ||
6 | + <option name="name" value="Maven Central repository" /> | ||
7 | + <option name="url" value="https://repo1.maven.org/maven2" /> | ||
8 | + </remote-repository> | ||
9 | + <remote-repository> | ||
10 | + <option name="id" value="jboss.community" /> | ||
11 | + <option name="name" value="JBoss Community repository" /> | ||
12 | + <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" /> | ||
13 | + </remote-repository> | ||
14 | + <remote-repository> | ||
15 | + <option name="id" value="BintrayJCenter" /> | ||
16 | + <option name="name" value="BintrayJCenter" /> | ||
17 | + <option name="url" value="https://jcenter.bintray.com/" /> | ||
18 | + </remote-repository> | ||
19 | + <remote-repository> | ||
20 | + <option name="id" value="Google" /> | ||
21 | + <option name="name" value="Google" /> | ||
22 | + <option name="url" value="https://dl.google.com/dl/android/maven2/" /> | ||
23 | + </remote-repository> | ||
24 | + <remote-repository> | ||
25 | + <option name="id" value="D:\AndroidSDK\extras\m2repository" /> | ||
26 | + <option name="name" value="D:\AndroidSDK\extras\m2repository" /> | ||
27 | + <option name="url" value="file:/$PROJECT_DIR$/../../../AndroidSDK/extras/m2repository" /> | ||
28 | + </remote-repository> | ||
29 | + <remote-repository> | ||
30 | + <option name="id" value="D:\AndroidSDK\extras\google\m2repository" /> | ||
31 | + <option name="name" value="D:\AndroidSDK\extras\google\m2repository" /> | ||
32 | + <option name="url" value="file:/$PROJECT_DIR$/../../../AndroidSDK/extras/google/m2repository" /> | ||
33 | + </remote-repository> | ||
34 | + <remote-repository> | ||
35 | + <option name="id" value="D:\AndroidSDK\extras\android\m2repository" /> | ||
36 | + <option name="name" value="D:\AndroidSDK\extras\android\m2repository" /> | ||
37 | + <option name="url" value="file:/$PROJECT_DIR$/../../../AndroidSDK/extras/android/m2repository" /> | ||
38 | + </remote-repository> | ||
39 | + </component> | ||
40 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <project version="4"> | 2 | <project version="4"> |
3 | - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK"> | 3 | + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> |
4 | <output url="file://$PROJECT_DIR$/build/classes" /> | 4 | <output url="file://$PROJECT_DIR$/build/classes" /> |
5 | </component> | 5 | </component> |
6 | <component name="ProjectType"> | 6 | <component name="ProjectType"> | ... | ... |
1 | apply plugin: 'com.android.application' | 1 | apply plugin: 'com.android.application' |
2 | 2 | ||
3 | android { | 3 | android { |
4 | - compileSdkVersion 28 | 4 | + compileSdkVersion 29 |
5 | buildToolsVersion '29.0.2' | 5 | buildToolsVersion '29.0.2' |
6 | defaultConfig { | 6 | defaultConfig { |
7 | - applicationId "com.ssjh.demo" | 7 | + applicationId "com.poolsdk.demo" |
8 | - minSdkVersion 14 | 8 | + minSdkVersion 21 |
9 | - targetSdkVersion 28 | 9 | + targetSdkVersion 29 |
10 | versionCode 2 | 10 | versionCode 2 |
11 | versionName "1.0" | 11 | versionName "1.0" |
12 | } | 12 | } |
... | @@ -32,6 +32,6 @@ dependencies { | ... | @@ -32,6 +32,6 @@ dependencies { |
32 | // implementation 'com.android.installreferrer:installreferrer:1.0' | 32 | // implementation 'com.android.installreferrer:installreferrer:1.0' |
33 | 33 | ||
34 | // implementation 'com.google.android.gms:play-services-ads-identifier:16.0.0' | 34 | // implementation 'com.google.android.gms:play-services-ads-identifier:16.0.0' |
35 | - compile 'com.google.firebase:firebase-core:16.0.6' | 35 | +// compile 'com.google.firebase:firebase-core:16.0.6' |
36 | - compile 'com.google.firebase:firebase-messaging:17.3.4' | 36 | +// compile 'com.google.firebase:firebase-messaging:17.3.4' |
37 | } | 37 | } | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | - package="com.youai.demo.shenshou"> | 3 | + package="com.poolsdk.demo"> |
4 | 4 | ||
5 | <!-- SDK start --> | 5 | <!-- SDK start --> |
6 | - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | ||
7 | <uses-permission android:name="android.permission.INTERNET" /> | 6 | <uses-permission android:name="android.permission.INTERNET" /> |
8 | - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | 7 | + <!-- 国内需要用公共SDK的后台数据功能需要以下权限 --> |
9 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | 8 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
10 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | 9 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
11 | - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | 10 | + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
12 | - <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> | ||
13 | - <uses-permission android:name="android.permission.GET_TASKS" /> | ||
14 | - <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> | ||
15 | - <uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
16 | <!-- SDK end --> | 11 | <!-- SDK end --> |
17 | 12 | ||
18 | <application | 13 | <application |
19 | android:name="com.gzpublic.app.sdk.application.PoolSDKApplication" | 14 | android:name="com.gzpublic.app.sdk.application.PoolSDKApplication" |
20 | android:allowBackup="false" | 15 | android:allowBackup="false" |
21 | android:icon="@drawable/public_sdk_self_ic_launcher" | 16 | android:icon="@drawable/public_sdk_self_ic_launcher" |
22 | - android:label="@string/app_name" > | 17 | + android:label="@string/app_name"> |
23 | <activity | 18 | <activity |
24 | android:name="com.youai.foolsdk.demo.AppActivity" | 19 | android:name="com.youai.foolsdk.demo.AppActivity" |
25 | android:configChanges="keyboardHidden|orientation|screenSize" | 20 | android:configChanges="keyboardHidden|orientation|screenSize" |
26 | android:label="@string/app_name" | 21 | android:label="@string/app_name" |
27 | android:screenOrientation="portrait" | 22 | android:screenOrientation="portrait" |
28 | - android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > | 23 | + android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> |
29 | <intent-filter> | 24 | <intent-filter> |
30 | <action android:name="android.intent.action.MAIN" /> | 25 | <action android:name="android.intent.action.MAIN" /> |
31 | 26 | ||
32 | <category android:name="android.intent.category.LAUNCHER" /> | 27 | <category android:name="android.intent.category.LAUNCHER" /> |
33 | </intent-filter> | 28 | </intent-filter> |
34 | </activity> | 29 | </activity> |
35 | - <!-- SDK start --> | ||
36 | - <activity | ||
37 | - android:name="com.appsdk.sdk.YouaiSDK" | ||
38 | - android:label="youai_sdk" | ||
39 | - android:launchMode="singleTask" | ||
40 | - android:theme="@android:style/Theme.Dialog" /> | ||
41 | - | ||
42 | - <service | ||
43 | - android:name="com.appsdk.sdk.YouaiService" | ||
44 | - android:enabled="true" > | ||
45 | - <intent-filter> | ||
46 | - <action android:name="com.youai.sdk.YouaiService" /> | ||
47 | - </intent-filter> | ||
48 | - </service> | ||
49 | - | ||
50 | - <receiver android:name="com.appsdk.sdk.Receiver" > | ||
51 | - <intent-filter> | ||
52 | - <action android:name="android.intent.action.BOOT_COMPLETED" /> | ||
53 | 30 | ||
54 | - <category android:name="android.intent.category.LAUNCHER" /> | 31 | + <!-- SDK start --> |
55 | - </intent-filter> | ||
56 | - </receiver> | ||
57 | 32 | ||
58 | - <activity | ||
59 | - android:name="com.alipay.sdk.app.H5PayActivity" | ||
60 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
61 | - android:exported="false" | ||
62 | - android:screenOrientation="behind" /> | ||
63 | - <activity | ||
64 | - android:name="com.alipay.sdk.auth.AuthActivity" | ||
65 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
66 | - android:exported="false" | ||
67 | - android:screenOrientation="behind" /> | ||
68 | <!-- SDK end --> | 33 | <!-- SDK end --> |
69 | </application> | 34 | </application> |
70 | 35 | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment