Open Richi2293 opened 6 years ago
Not for me. Throwing errors:
/Users/slx/Documents/GitHub/NotifyAvailabilityUpgrade/node_modules/react-native-background-task/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
/Users/slx/Documents/GitHub/NotifyAvailabilityUpgrade/node_modules/react-native-background-task/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
/Users/slx/Documents/GitHub/NotifyAvailabilityUpgrade/node_modules/react-native-background-task/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
/Users/slx/Documents/GitHub/NotifyAvailabilityUpgrade/node_modules/react-native-background-task/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
/Users/slx/Documents/GitHub/NotifyAvailabilityUpgrade/node_modules/react-native-background-task/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
/Users/slx/Documents/GitHub/NotifyAvailabilityUpgrade/node_modules/react-native-background-task/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
:react-native-background-task:processReleaseResources FAILED
@xRahul I get the same error. Relates to #57
@xRahul I got the exact same error as yours.
I think it is due to the fact that it has not been updated for a long time and therefore no longer fully compatible with last react native versions (last android/iso versions)
In node_modules/react-native-background-task/android/build.gradle I changed:
compileSdkVersion 23 -> 28
And now it works ok.
I need to check the status of the wifi, that is if it is connected to a specific wifi. Could this library fit my case? works well?
Thanks