pusher / push-notifications-android

Android SDK for Pusher Beams
https://www.pusher.com/beams
MIT License
21 stars 21 forks source link

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId; #146

Open KFMDMSolutions opened 1 month ago

KFMDMSolutions commented 1 month ago

getting error java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;

i see it was fixed on master but a i can't find a released fix

benw-pusher commented 1 month ago

What version are you using? I believe this was fixed in 1.9.2 - https://github.com/pusher/push-notifications-android/blob/master/CHANGELOG.md#192---2023-02-22

KFMDMSolutions commented 1 month ago

it wasn't on the released version https://github.com/pusher/push-notifications-android/blob/592c8ab7d378743920acacc0c0bda7b0ec06136c/pushnotifications/build.gradle#L53

dhruv-00 commented 4 weeks ago

hey @KFMDMSolutions did you find any solution I'm trying to integrate this in my expo app with https://github.com/threls/expo-pusher-beams ios it is working fine but in android it is showing this error when I'm trying to set instanseId

dhruv-00 commented 4 weeks ago

got it I forgot to add the dependency in the plugins array Now it is working