-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin is not installed error #68
Comments
I'm also getting the same issue, what version of |
Hey! |
Hi @c0mtru1se thanks yes the latest version of @awesome-cordova-plugins/smartlook solved the above issue for me. I am now getting a crash when launching with an error |
I am getting " Native: tried calling Smartlook.startRecording, but the Smartlook plugin is not installed." in android, and "Native: tried calling Smartlook.setUserIdentifier, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator" in web. Could you please help me with it. "@awesome-cordova-plugins/smartlook": "^5.46.0", |
@dksanket please update the Thanks! |
@c0mtru1se thank you for the quick response, I tried it but the issue still exists. I am getting the following warning in the console "common.js:350 Native: tried calling Smartlook.setup, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator" in web. Haven't tried it in android yet. |
@dksanket I see, I'm assuming you are testing the app with either Ad It you want to use version < |
@kiwikia Finally I've fixed it by using the following:
this works in iOS, but not in Android. To get it working on Android I've modified
|
It's not working for me, could you please tell me the versions that you are using? I am using angular 11, ionic 5, capacitor 3.. I even tried with "@awesome-cordova-plugins/smartlook": "^5.46.0" and cordova-plugin-smartlook -> 1.9.6, didn't work. |
@dksanket I share the dependencies defined in package.json:
|
I'm trying the new release 2.0.1 for this plugin, but it seems that it's not installing it properly in both Android and iOS.
If I use the 1.9.6 it works perfectly.
Also the documentation for @awesome-cordova-plugins/smartlook is wrong because the specified methods are different.
[warn] - Native: tried calling Smartlook.setup, but the Smartlook plugin is not installed. ⚡️ [warn] - Install the Smartlook plugin: 'ionic cordova plugin add https://github.com/smartlook/cordova-smartlook.git'
The text was updated successfully, but these errors were encountered: