Add the appropriate “Tag” based on what Expo library you have a question on.
Hello,
[expo-notifications] Error encountered while updating server registration with latest device push token., [Error: Another async call to this method is in progress. Await the first Promise.]
This error often occurs in expo app. And always occurs in build ios app.
[expo-notifications] Error encountered while updating server registration with latest device push token., [Error: Another async call to this method is in progress. Await the first Promise.]
at node_modules/expo-notifications/build/DevicePushTokenAutoRegistration.fx.js:54:20 in __handlePersistedRegistrationInfoAsync
at [native code]:null in flushedQueue
at [native code]:null in invokeCallbackAndReturnFlushedQueue
[Unhandled promise rejection: Error: Another async call to this method is in progress. Await the first Promise.]
at node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:103:50 in promiseMethodWrapper
at node_modules/@unimodules/react-native-adapter/build/NativeModulesProxy.native.js:15:23 in moduleName.methodInfo.name
at node_modules/expo-notifications/build/getDevicePushTokenAsync.js:4:15 in getDevicePushTokenAsync
at node_modules/expo-notifications/build/getDevicePushTokenAsync.js:4:15 in getDevicePushTokenAsync
at node_modules/expo-notifications/build/DevicePushTokenAutoRegistration.fx.js:31:7 in __handlePersistedRegistrationInfoAsync
at node_modules/expo-notifications/build/DevicePushTokenAutoRegistration.fx.js:31:7 in __handlePersistedRegistrationInfoAsync
at [native code]:null in flushedQueue
at [native code]:null in invokeCallbackAndReturnFlushedQueue
Hey @useb-official can you provide a Snack or public github repo that we can use to test this locally? It’s hard to deduce what’s going wrong without being able to see/run all the code.