onesignal plugin initialization - ionic-framework

Hello I am facing problem during onesignal init, please help how to solve this error. I can't find anything related to onesignal in my config.xml file. I installed onesignal plugin in my ionic app as per documentation provided and it installed successfully.
I am developing Ionic app on android platform.

There are a few troubleshooting steps that could help resolve this issue:
Double check that you have followed all of the OneSignal setup
instructions for your platform correctly.
Take a look at your
application log to see if there are any errors explained there.
Take a look at the troubleshooting guides here https://documentation.onesignal.com/docs/known-issues.

Related

I am Usign flutter_facebook_auth but It says No implementation found for method login on channel app.meedu/flutter_facebook_auth

Itssays IMPORTANT: When you install this plugin you need to configure the plugin on Android before run the project again . If you don't do it you will have a No implementation found error because the facebook SDK on Android throws an Exception when the configuration is not defined yet and this locks the other plugins in your project. If you don't need the plugin yet please remove or comment it. I didnot get how to configure it
seems you needs to do this
https://facebook.meedu.app/docs/4.x.x/android
Kindly refer to this
https://facebook.meedu.app/

Ionic 3 Uncaught (in promise) : plugin_not_installed

I have a problem my fingerprint project does not work for me, it generates this error plugin_not_installed
enter image description here
Well friends any doubt I will be waiting for your answers for hours trying to solve my problem, thank you for your attention
It seems the plugin you are using in that view is not installed as a cordova plugin. You may have it installed as an npm module but not as a plugin in the platform.
Verify this with:
ionic cordova plugin ls
The plugin may be not correctly installed in the platform, in this case in iOS. Each platform folder has a plugin folder. Ensure your plugin is inside that folder.
It seems that you may have set your FCM in your constructor as private, just replace (private fcm: FCM) with (public fcm: FCM )
then save it , I hope it may solve your problem.

Local notifications not working in Ionic 3

I am new to Ionic 3 and I implemented Local notifications using plugin https://ionicframework.com/docs/native/local-notifications/ and it works just as expected, but every time I push my changes and take a pull again, I need to re-install the plugin and build again.
Any solutions?
Referring to this link, the correct way to install local notification plugin for Ionic 3 is by using ionic cordova plugin add de.appplant.cordova.plugin.local-notification
Most Ionic 3 users have CLI version 3 and above. Hope this help to others too!
As mentioned in the first comment in my question itself, the problem was resolved, so I am closing this topic by posting an answer.
I got the fix, it was this line in my package.json file that was causing the problem:
"cordova-plugin-app-event": "file:node_modules/cordova-plugin-app-event"Changing the path of the plugin fixed the issue.

FIREBASE_AUTH_API is not available on this device

I have followed the new Google Firebase guide for Facebook sign-in on Android but I am consistently getting the following error on a particular device.
FirebaseAuth:signInWithCredential failed
com.google.firebase.FirebaseApiNotAvailableException: API: InternalFirebaseAuth.FIREBASE_AUTH_API is not available on this device.
On other devices it seems to work fine. The device is Moto X Play running Android 6.0.1. It also has Google Play Services 9.0.83. I tried a complete uninstall and reinstall with no luck.
This was a bug affecting the 9.0.0 and 9.0.1 versions of the SDK. It has been fixed as of SDK version 9.0.2.
Update the Google repository via the Android SDK manager and then change your gradle dependency to:
compile 'com.google.firebase:firebase-auth:9.0.2'
See incident details here.
As Alfonso says in the comments, there is an issue we are seeing where some users don't have the Firebase Auth API available even though they have Google Play services 9.0.83.
That's a bug - sorry about that - and is being investigated at the moment. If you're seeing it, please raise an issue in the troubleshooting page with any further details of the device where you had the problem.

Google Analytic not updated in iOS Cordova 2.0.0 App

I am working on iOS App using Cordova 2.0.0, and I want to use Google Analytics, So I followed this github link step by step, but Unfortunately GA not updated, The only difference that
in the link Readme file "Make sure you are running Cordova(PhoneGap) 1.5.0"
and I use Cordova 2.0.0
but I see that the repo is updated to 2.0.0 and my App is work right but GA not updated
and here it is the code that I call in OnDeviceReady method, to start the GA and add event
var googleAnalytics = window.plugins.googleAnalyticsPlugin;
googleAnalytics.startTrackerWithAccountID("XX-XXXXXXXX-X");
googleAnalytics.trackEvent("category", "action", "label goes here", 666);
Can any one help or face the same problem?
Kindly the follow the below link,its very helpful and also worked for me.
----> https://github.com/jelled/google-analytics-cordova-ios