You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the cordova plugin using the following command in my ionic app ionic cordova plugin add cordova-plugin-connectsdk
But I cannot use the method ConnectSDK.discoveryManager.startDiscovery(); in any page since I haven't imported the plugin to my page. I'm not sure how to import this particular plugin. any help?
The text was updated successfully, but these errors were encountered:
I'm a bit late but I hope to help someone else with the same issue.
The plugin is attached to Window object, so you don't need to import it.
After adding the plugin, just use declare var ConnectSDK; on the top of the page you want to use it.
phabullo, does your solution work? The console sends the following error:
> Could not resolve all dependencies for configuration ':_debugApk'.
> Project : declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project :cordova-plugin-connectsdk:Connect-SDK-Android.
Can you mention in which version of ionic did it work?
Not anymore, @devroldan. Two months ago I spent a couple days trying to make it work with no success. You could look up the forks to see if someone is still maintaining the project
I added the cordova plugin using the following command in my ionic app
ionic cordova plugin add cordova-plugin-connectsdk
But I cannot use the method
ConnectSDK.discoveryManager.startDiscovery();
in any page since I haven't imported the plugin to my page. I'm not sure how to import this particular plugin. any help?The text was updated successfully, but these errors were encountered: