Panagiotis Triantafyllou

minor changes

......@@ -175,22 +175,22 @@
android:exported="false" />
<!-- FCM Service for push notifications -->
<service
android:name="ly.warp.sdk.services.FCMBaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<!-- <service-->
<!-- android:name="ly.warp.sdk.services.FCMBaseMessagingService"-->
<!-- android:exported="false">-->
<!-- <intent-filter>-->
<!-- <action android:name="com.google.firebase.MESSAGING_EVENT" />-->
<!-- </intent-filter>-->
<!-- </service>-->
<!-- Service used for handling Huawei Push Notifications, comment if we are in Google build -->
<service
android:name="ly.warp.sdk.services.HMSBaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.huawei.push.action.MESSAGING_EVENT" />
</intent-filter>
</service>
<!-- <service-->
<!-- android:name="ly.warp.sdk.services.HMSBaseMessagingService"-->
<!-- android:exported="false">-->
<!-- <intent-filter>-->
<!-- <action android:name="com.huawei.push.action.MESSAGING_EVENT" />-->
<!-- </intent-filter>-->
<!-- </service>-->
<receiver
android:name="ly.warp.sdk.receivers.LocationChangedReceiver"
......
......@@ -1490,10 +1490,10 @@ public enum Warply {
registerWarply();
return;
}
if (WarpUtils.getIsAPPDATAENABLED(mContext.get()))
postApplicationData(true);
if (WarpUtils.getIsDEVICEINFOENABLED(mContext.get()))
postDeviceInfoData();
if (WarpUtils.getIsAPPDATAENABLED(mContext.get()))
postApplicationData(true);
tryWakingSendingTaskInternal(WarplyDBHelper.getInstance(mContext.get())
.getRequestsInQueueCount());
}
......@@ -2103,8 +2103,8 @@ public enum Warply {
WarpUtils.log("******************************************************");
if (mRegistrationListener != null)
mRegistrationListener.onSuccess(ServiceRegistrationCallback.REGISTERED_WARPLY);
postApplicationData(true);
postDeviceInfoData();
postApplicationData(true);
}
releaseRegisterLock();
}
......