Fix crash when app is in Foreground
Fix crash when app is in Foreground

Fix the app crash when receive a notification in foreground

Close #18
jluisfg/cordova-plugin-firebase_comexmovil,jluisfg/cordova-plugin-firebase_lasus,t-co-in/shapes-paid-US,DigitalsunrayMedia/cordova-plugin-firebase,Vying/cordova-plugin-firebase,t-co-in/shapes-paid-US,jluisfg/cordova-plugin-firebase_ppgnews,ceisinger/cordova-plugin-firebase,tdachev/cordova-plugin-firebase,arnesson/cordova-plugin-firebase,tdachev/cordova-plugin-firebase,tdachev/cordova-plugin-firebase,ceisinger/cordova-plugin-firebase,canado/cordova-plugin-firebase,t-co-in/shapes-free,krtek1979/cordova-plugin-firebase,canado/cordova-plugin-firebase,Vying/cordova-plugin-firebase,canado/cordova-plugin-firebase,arnesson/cordova-plugin-firebase,DigitalsunrayMedia/cordova-plugin-firebase,jluisfg/cordova-plugin-firebase_lasus,nieok/cordova-plugin-firebase,arnesson/cordova-plugin-firebase,jluisfg/cordova-plugin-firebase_ppgnews,podmaxs/cordova-plugin-firebase-bigapp,t-co-in/shapes-free,nieok/cordova-plugin-firebase,krtek1979/cordova-plugin-firebase,DigitalsunrayMedia/cordova-plugin-firebase,ceisinger/cordova-plugin-firebase,jluisfg/cordova-plugin-firebase_comexmovil,Vying/cordova-plugin-firebase,podmaxs/cordova-plugin-firebase-bigapp,nieok/cordova-plugin-firebase,ceisinger/cordova-plugin-firebase,arnesson/cordova-plugin-firebase