Skip to content

Instantly share code, notes, and snippets.

@sheerazam
Created November 25, 2021 18:45
Show Gist options
  • Save sheerazam/e387ecf553dc880c2c4cdc86d29ca26d to your computer and use it in GitHub Desktop.
Save sheerazam/e387ecf553dc880c2c4cdc86d29ca26d to your computer and use it in GitHub Desktop.
Implementing Force Update Feature using Firebase Remote Config in iOS
override func applicationDidBecomeActive(_ application: UIApplication) {
print("AppDelegate : application applicationDidBecomeActive()")
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
super.applicationDidBecomeActive(application)
//setup remote config
setupRemoteConfig()
ForceUpdateChecker(listener: self).check()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment