[SDK] [iOS] Release v1.1.1.0

GitHub release
Integration guide

Changelog:

  • Prefix imported dependency to prevent name clashes in client apps
  • Add cache to remove some network calls from SDK initialization
  • Getters for userId, installationId and push token
  • Purge invalid push token on failure to register
  • Properly identify newer hardware
  • Omit old and imprecise geolocations
  • Method to enable logs at runtime
  • Various fixes

Upgrading:

Please add the following function to your AppDelegate:

- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
{
    [WonderPush didFailToRegisterForRemoteNotificationsWithError:error];
    // You may appreciate the following log during development :-)
    NSLog(@"Error: %@", error);
}