Panagiotis Triantafyllou

deh part6

1 apply plugin: 'com.android.application' 1 apply plugin: 'com.android.application'
2 -//apply plugin: 'com.google.gms.google-services' 2 +apply plugin: 'com.google.gms.google-services'
3 apply plugin: 'com.huawei.agconnect' 3 apply plugin: 'com.huawei.agconnect'
4 4
5 android { 5 android {
......
1 +{
2 + "project_info": {
3 + "project_number": "674046222598",
4 + "project_id": "warply-sdk",
5 + "storage_bucket": "warply-sdk.firebasestorage.app"
6 + },
7 + "client": [
8 + {
9 + "client_info": {
10 + "mobilesdk_app_id": "1:674046222598:android:3a7e0c274fc46ec10cbe87",
11 + "android_client_info": {
12 + "package_name": "warp.ly.android_sdk"
13 + }
14 + },
15 + "oauth_client": [],
16 + "api_key": [
17 + {
18 + "current_key": "AIzaSyA1dTyKyZF3ic_i0PMtk_hdYs_NaGzx4V8"
19 + }
20 + ],
21 + "services": {
22 + "appinvite_service": {
23 + "other_platform_oauth_client": []
24 + }
25 + }
26 + }
27 + ],
28 + "configuration_version": "1"
29 +}
...\ No newline at end of file ...\ No newline at end of file
1 # {@link ly.warp.sdk.utils.WarplyProperty} 1 # {@link ly.warp.sdk.utils.WarplyProperty}
2 2
3 # The app uuid the warply sdk need to connect to the engage server 3 # The app uuid the warply sdk need to connect to the engage server
4 -# dev f83dfde1145e4c2da69793abb2f579af 4 +# dev b13ade8ef743468b89a7aaa8efbfc468
5 -# prod 0086a2088301440792091b9f814c2267 5 +# prod b13ade8ef743468b89a7aaa8efbfc468
6 -Uuid=f83dfde1145e4c2da69793abb2f579af 6 +Uuid=b13ade8ef743468b89a7aaa8efbfc468
7 7
8 # If we need to see logs in Logcat 8 # If we need to see logs in Logcat
9 Debug=true 9 Debug=true
......
...@@ -9,7 +9,7 @@ buildscript { ...@@ -9,7 +9,7 @@ buildscript {
9 } 9 }
10 dependencies { 10 dependencies {
11 classpath 'com.android.tools.build:gradle:8.8.0' 11 classpath 'com.android.tools.build:gradle:8.8.0'
12 - classpath 'com.google.gms:google-services:4.3.10' 12 + classpath 'com.google.gms:google-services:4.4.2'
13 classpath 'com.huawei.agconnect:agcp:1.9.1.300' 13 classpath 'com.huawei.agconnect:agcp:1.9.1.300'
14 classpath 'io.github.gradle-nexus:publish-plugin:1.1.0' 14 classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
15 15
......
...@@ -62,6 +62,48 @@ ...@@ -62,6 +62,48 @@
62 android:exported="true" 62 android:exported="true"
63 android:screenOrientation="portrait" /> 63 android:screenOrientation="portrait" />
64 64
65 + <!-- Service used for updating user's location. -->
66 + <service
67 + android:name="ly.warp.sdk.services.UpdateUserLocationService"
68 + android:exported="false"
69 + android:permission="android.permission.BIND_JOB_SERVICE" />
70 +
71 + <service
72 + android:name="ly.warp.sdk.services.EventRefreshDeviceTokenService"
73 + android:exported="false"
74 + android:permission="android.permission.BIND_JOB_SERVICE" />
75 +
76 + <service
77 + android:name="ly.warp.sdk.services.WarplyBeaconsRangingService"
78 + android:exported="false" />
79 +
80 + <!-- FCM Service for push notifications -->
81 + <service
82 + android:name="ly.warp.sdk.services.FCMBaseMessagingService"
83 + android:exported="false">
84 + <intent-filter>
85 + <action android:name="com.google.firebase.MESSAGING_EVENT" />
86 + </intent-filter>
87 + </service>
88 +
89 + <!-- Service used for handling Huawei Push Notifications, comment if we are in Google build -->
90 + <service
91 + android:name="ly.warp.sdk.services.HMSBaseMessagingService"
92 + android:exported="false">
93 + <intent-filter>
94 + <action android:name="com.huawei.push.action.MESSAGING_EVENT" />
95 + </intent-filter>
96 + </service>
97 +
98 + <receiver
99 + android:name="ly.warp.sdk.receivers.ConnectivityChangedReceiver"
100 + android:exported="false">
101 + <intent-filter>
102 + <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
103 + <category android:name="${applicationId}" />
104 + </intent-filter>
105 + </receiver>
106 +
65 <receiver 107 <receiver
66 android:name=".receivers.LocationChangedReceiver" 108 android:name=".receivers.LocationChangedReceiver"
67 android:exported="false" /> 109 android:exported="false" />
......