iOS app terminate in release in background after 30 seconds(react native iOS)

  Kiến thức lập trình

(“RNBackgroundActions”), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

i m using
‘react-native-background-timer’
‘react-native-background-actions’
these tow pakages that works on android fine but not on iOS release ipa. it terminates app when its 30 seconds app in background.i enable all background require permissions.

LEAVE A COMMENT