Skip to content
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

phonegap build support #100

Open
Medioman92 opened this Issue Jan 8, 2016 · 16 comments

Comments

Projects
None yet
6 participants
@Medioman92
Copy link

Medioman92 commented Jan 8, 2016

hi,
is phonegap build support a planned feature ?
alternately is there any plan to support cordova npm plugin format ?

i'm building through a build server and can't manually add your plugin

@AndreasSchacherbauerWikitude

This comment has been minimized.

Copy link
Contributor

AndreasSchacherbauerWikitude commented Jan 26, 2016

PhoneGap Build was not a option for use because of some license issues. Sorry :(

@Medioman92

This comment has been minimized.

Copy link
Author

Medioman92 commented Jan 26, 2016

so your website should replace everywhere "phonegap" with "cordova". 👍
Phonegap is basically a cloud building system which is based on cordova APIs, if the plugin is not supporting this system it's pretty misleading for someone who reads your documentation

@bukosabino

This comment has been minimized.

Copy link

bukosabino commented Mar 30, 2017

Any version of Wikitude Plugin is supported with Adobe Phonegap Build?

@pnagele

This comment has been minimized.

Copy link
Contributor

pnagele commented Mar 30, 2017

Hi. Have a look at this npm module, which replicates this plugin for use with Phonegap Build:

https://www.npmjs.com/package/com.wikitude.phonegap.wikitudeplugin

@bukosabino

This comment has been minimized.

Copy link

bukosabino commented Apr 17, 2017

Hi @pnagele , I've tried with:
npm i com.wikitude.phonegap.wikitudeplugin --save
But, Wikitude is not working :(

If I build manually everything is OK!

@pnagele

This comment has been minimized.

Copy link
Contributor

pnagele commented Apr 19, 2017

Can you describe the error message you see? What exactly is failing?

@xims

This comment has been minimized.

Copy link

xims commented May 6, 2017

Hello,
I'm trying to make simple example working in my app's environment but can't make it work.

I'm using Phonegap Build for cloud builds for iOS and Android.

Into my html file I've added :

 <script src="https://www.wikitude.com/libs/architect.js"></script>
 <script type="text/javascript" src="libs/ade.js"></script>

(created libs/ade.js from https://github.com/Wikitude/wikitude-sdk-samples/blob/master/ade.js)

Into config.xml I've added :

    <plugin name="com.wikitude.phonegap.WikitudePlugin" spec="https://github.com/Wikitude/wikitude-cordova-plugin" />
    <platform name="android">
        <preference name="android-minSdkVersion" value="15" />
    </platform>

I've created source based on
https://github.com/Wikitude/wikitude-sdk-samples/blob/master/01_ImageRecognition_1_ImageOnTarget/js/imageontarget.js

I couldn't find a way to enter trial licence because the plugin being loaded by Phonegap Cloud Build...

I'm getting errors

AR is not defined...

What am I doing wrong?

Thank you!

@AndreasSchacherbauerWikitude

This comment has been minimized.

Copy link
Contributor

AndreasSchacherbauerWikitude commented May 8, 2017

Hi @xims,
AR is not defined usually means that our JS API is not loaded at the time the Architect World is loaded. Architect Worlds are usually the files that include the Wikitude JS API as shown in our examples. You then use our Cordova plugin to load such Architect Worlds.

The license key needs to be changed in the WikitudePlugin.js (This file might be included multiple times in your project, so make sure that you change it in all files).

@xims

This comment has been minimized.

Copy link

xims commented May 8, 2017

Hi @AndreasSchacherbauerWikitude
Thanks for the reply.

How do I use the Cordova plugin to load Architect Worlds, What's the command for it?
Sorry, I couldn't find anything in the https://github.com/Wikitude/wikitude-sdk-samples/tree/master/01_ImageRecognition_1_ImageOnTarget example.

Also, how can I provide licence number if I use PhoneGap Build to build in the cloud and it loads the plugin at the build time.
Is there a way to set it programmatically from the usage area?

Thank you

@wayne-christian

This comment has been minimized.

Copy link

wayne-christian commented Dec 21, 2017

Sorry to pick up on this, but can i clarify that phonegap build is supported? I have seen the npm, downloaded relevant files but can not find WikitudePlugin.js to change line 12 for a trial?
Thanks

@AndreasSchacherbauerWikitude

This comment has been minimized.

Copy link
Contributor

AndreasSchacherbauerWikitude commented Dec 22, 2017

Hi @wayne-christian ,
The license needs to be changed in the file WikitudePlugin.js. There you find the variable for the license key in the first lines.

Best regards,
Andreas

@wayne-christian

This comment has been minimized.

Copy link

wayne-christian commented Dec 22, 2017

Hi Andreas, sorry fif i am being blind, but where is the WikitudePlugin.js. I am assuming with phone gap build (adobe SAS) that we link to the npm in the nonfig and would usually add some info there. I have downloaded all of the cordova resources but cant see the WikitudePlugin.js anywhere. Even using the phonegap desktp app and the sample resources - there is no WikitudePlugin.js. do thi sneed to be downloaded and added manually?

Thanks

Wayne

@AndreasSchacherbauerWikitude

This comment has been minimized.

Copy link
Contributor

AndreasSchacherbauerWikitude commented Dec 29, 2017

Hi @wayne-christian,
The file I'm talking about is part of this repository.
I'm not very familiar with PhoneGap build - do you actually add the Wikitude Cordova plugin to your PhoneGap project locally or is this happening on the cloud build machine?

@wayne-christian

This comment has been minimized.

Copy link

wayne-christian commented Dec 29, 2017

@AndreasSchacherbauerWikitude

This comment has been minimized.

Copy link
Contributor

AndreasSchacherbauerWikitude commented Jan 3, 2018

Hi @wayne-christian,
It sounds very weird that you can't the file I was talking about. Can you send a screenshot of your IDE or provide a link to a project?

Best regards,
Andreas

@wayne-christian

This comment has been minimized.

Copy link

wayne-christian commented Jan 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.