wayneparrott/hello-ezar

Unable to detect the ezAR plugin

mkaouri opened this issue · 3 comments

Hello,
I'm using PhoneGap Desktop App to run the hello-ezar app from the example folder in the ezartech sdk. The app is able to lunch on my iphone 7 iOS 10 but I get the following error: Unable to detect the ezAR plugin.
Below is the config.xml and referenced the ezartech plugins with ../../plugins.

Hello ezAR Minimalist ezAR hello-world app ezAR Team
<plugin name="com.ezartech.ezar.videooverlay" spec="../../plugins/com.ezartech.ezar.videooverlay" />

<!--uncomment elements below to use alternative webviews-->
<!--<plugin name="cordova-plugin-crosswalk-webview" />-->
<!--<plugin name="cordova-plugin-wkwebview-engine" spec="https://github.com/driftyco/cordova-plugin-wkwebview-engine.git" />-->

<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashScreen" value="screen" />
<feature name="StatusBar">
    <param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<access origin="*" />
<platform name="ios">
    <allow-intent href="itms:*" />
    <allow-intent href="itms-apps:*" />
</platform>

Please advise what goes wrong?

Thanks.

After performing a build please confirm that the videooverlay plugin is installed in your project. You can do this by inspecting the project's /plugins directory and look for the videooverlay plugin or using the cordova or phonegap cli to list installed plugins:

cordova plugin ls
or
phonegap plugin ls

If you do not observe the videooverlay plugin then please confirm that the videooverlay plugin directory actually resides at the relative path ../../plugins/ to the directory of your project? Modify the plugin path in your config.xml as needed to reference the location of the videooverlay plugin directory or directly install the plugin using the cordova or phonegap cli:

cordova plugin add /com.ezartech.ezar.videooverlay
or
phonegap plugin add /com.ezartech.ezar.videooverlay

Then rebuild the project, install the app and test on your device(s).
Let me know if this helps.

It works finally. But I had to subscript for 1 year as Apple Developer and then used xcode to build the project. iOS 10 requires a valid provisioning profile to work perfectly. Thanks.

sksar commented

I am trying to do the same for Android, I checked with phonegap plugin ls, it's perfectly fine and installed. I then built the project, and tested it on a android device, but still the same alert message comes.. Anyone knows what to do ?