Ty Truong

Results 7 comments of Ty Truong

> I'd like to add this eventually, but in the meantime you can get the same thing with `useEffect`: > > ```tsx > const { query } = useEffect(store.query); >...

@ng-ha you can use this patch for android 14 ```diff --git a/node_modules/react-native-background-actions/android/src/main/AndroidManifest.xml b/node_modules/react-native-background-actions/android/src/main/AndroidManifest.xml index b67ef4d..cf8cab4 100644 --- a/node_modules/react-native-background-actions/android/src/main/AndroidManifest.xml +++ b/node_modules/react-native-background-actions/android/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ - + diff --git a/node_modules/react-native-background-actions/android/src/main/java/com/asterinet/react/bgactions/RNBackgroundActionsTask.java b/node_modules/react-native-background-actions/android/src/main/java/com/asterinet/react/bgactions/RNBackgroundActionsTask.java...

> I guess the problem is the "shortService" You can try with this pr #208

> ```js > FOREGROUND_SERVICE_DATA_SYNC > ``` I think you should set service type in your own's app. Don't modify on the lib

> The foreground type could be pass by parameter since API Level 29. I'm going to try a solution with adding type(s) in options. /!\ Some types need permission on...

> After some test and read the document, it seems to be impossible de set the foregroundType directly in the startForeground method without declare it in the service tag (manifest)....