rdelrosario / xamarin-plugins

Cross platform Xamarin & Windows plugins for PCLs
MIT License
179 stars 161 forks source link

Crashing app when used crossPushNotification.Current.Register(); #123

Closed hussamalzahabi closed 7 years ago

hussamalzahabi commented 7 years ago

Hi Every one ,

i have problem after complete configure this package rdelrosario/xamarin-plugins .

firstly i created the fire-base account and get the sender in order to put in initialize ( main ) after this process i invoked the crossPushNotification.Current.Register(); on app cs ( overriding onstart

but when run the project on the emulator it didn't work ( make crashing ) and i didn't receive any msg from fire-base i think this package's its lack to many point should be illustrated

benevbright commented 7 years ago

Basically you need to test it on the Release build with real smartphone.

hussamalzahabi commented 7 years ago

so if i used a real smartphone in release mode should receive a notification from fire base ?

benevbright commented 7 years ago

If you did everything correctly, yes.

hussamalzahabi commented 7 years ago

yes i update this package to beta mode and im using api 25 ( 7.1 nuget ) and the question should update the XF to last one ?

benevbright commented 7 years ago

At least I'm using lastest stable one. (Not pre release)

hussamalzahabi commented 7 years ago

this package require backend stuff ?? or not ?

hussamalzahabi commented 7 years ago

its working correctly :) because i used a real one

benevbright commented 7 years ago

Good to hear that!