@armanfantasy wrote:
Hello everyone please help me i made a capacitor plugin for handling firebase dynamic link
i managed ios but now i’m stuck on androidthis is in my MainActivity
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{ // Additional plugins you've installed go here // Ex: add(TotallyAwesomePlugin.class); add(FirebaseDynamicLink.class); }});
and when i get the dynamic link on android i get the link and then on my plugin i do
JSObject ret = new JSObject(); ret.put("deeplink", url); Log.i("welcome","got it"); notifyListeners(EVENT_FIREBASE_DYNAMIC_LINK, ret,true);
but on log i get
Notifying listeners for event onOpenWithDynamicLink
No listeners found for event onOpenWithDynamicLink
and on my app.compnent file i do this
FirebaseDynamicLink.addListener('onOpenWithDynamicLink',(value)=>{ let deeplink = value.deeplink; console.log(deeplink); this.parsDynamicLink(deeplink); })
and i do not get anything because on android studio log i got that log which i mentioned
Posts: 1
Participants: 1