Skip to content

Cocoapods, IOS dependencies update, and FCMPlugin.getAPNSToken

Compare
Choose a tag to compare
@andrehtissot andrehtissot released this 12 Oct 13:18
· 284 commits to master since this release
1b9e7cd

Changelog

  • Replaced internal dependencies in favour of dependencies from cocoapods to avoid conflict with other, newer, firebase plugins;

  • FIRApp.configure execution is avoided if it has already been ran by another plugin;

  • Added FCMPlugin.d.ts for type defition;

  • For the IOS, APNS token can now be retrieved by the new method:

FCMPlugin.getAPNSToken(
  function(token) {
    console.info("Retrieved token: "+token)
  },
  function(error) {
    console.error(error);
  }
);

Special thanks to bhargav (@bhargavas12) for requesting the feature and helping testing it.