cordova-plugin-fcm-with-dependecy-updated icon indicating copy to clipboard operation
cordova-plugin-fcm-with-dependecy-updated copied to clipboard

updated com.google.firebase.iid (deprecated) to com.google.firebase.installations

Open hyomba-pratik opened this issue 3 years ago • 3 comments

Android build failed because of deprecated imports on FCMPlugin.java

import com.google.firebase.iid.FirebaseInstanceId;
import com.google.firebase.iid.InstanceIdResult;

Now updated those imports to:

import com.google.firebase.installations.FirebaseInstallations;
import com.google.firebase.installations.InstallationTokenResult;

hyomba-pratik avatar May 27 '21 12:05 hyomba-pratik

Hi @hyomba-pratik, does the build fail on some specific compileSdk/targetSdk?

kartneb avatar Aug 28 '21 02:08 kartneb

Can you see if this can be merged @andrehtissot ? Let's keep your plugin going by merging PRs or providing feedbacks if they aren't good.

kartneb avatar Aug 28 '21 02:08 kartneb

Please merge this!

wcooperscott avatar May 12 '22 04:05 wcooperscott