transistorsoft / react-native-background-fetch

Periodic callbacks in the background for both IOS and Android
MIT License
1.43k stars 191 forks source link

Problem in ios Background procssing task was not registered in AppDelegate #482

Closed yevhenlv closed 3 months ago

yevhenlv commented 3 months ago

Get error when try to scheduleTask Possible Unhandled Promise Rejection (id: 0): The operation couldn’t be completed. Background procssing task was not registered in AppDelegate didFinishLaunchingWithOptions. See iOS Setup Guide.

Знімок екрана 2024-01-30 о 10 48 33
christocracy commented 3 months ago

Show me your .plist entries you added from the Setup Instructions.

yevhenlv commented 3 months ago
Знімок екрана 2024-02-01 о 14 46 27
christocracy commented 3 months ago

All entries must be prefixed with com.transistorsoft

christocracy commented 3 months ago

Go back and follow the Setup Instructions.

yevhenlv commented 3 months ago

I need remove this $(PRODUCT_BUNDLE_IDENTIFIER)?

christocracy commented 3 months ago

I need remove this $(PRODUCT_BUNDLE_IDENTIFIER)?

Unless you happened to use my company prefix with your app (com.transistorsoft), yes.

And one of your entries must be com.transistorsoft.fetch.

Go back to the Setup Instructions and follow them exactly. Don't get "creative",

yevhenlv commented 3 months ago

Thanks!