@ua/react-native-airship 24.8.0 → 24.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
<service
|
|
11
11
|
android:name="com.urbanairship.reactnative.AirshipHeadlessEventService"
|
|
12
|
-
android:exported="false"
|
|
12
|
+
android:exported="false"
|
|
13
|
+
android:stopWithTask="true" />
|
|
13
14
|
|
|
14
15
|
<activity
|
|
15
16
|
android:name="com.urbanairship.android.framework.proxy.CustomMessageCenterActivity"
|
|
@@ -26,7 +26,7 @@ class AirshipHeadlessEventService : HeadlessJsTaskService() {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
companion object {
|
|
29
|
-
private const val TASK_TIMEOUT: Long =
|
|
29
|
+
private const val TASK_TIMEOUT: Long = 1000
|
|
30
30
|
private const val TASK_KEY = "AirshipAndroidBackgroundEventTask"
|
|
31
31
|
|
|
32
32
|
fun startService(context: Context): Boolean {
|
package/package.json
CHANGED