Jo
Posts: 0
Joined: Sat Jul 19, 2014 4:50 pm

OAuth integration tutorial question

I'm trying to follow the oauth.io integration tutorial:
http://devcenter.appery.io/tutorials/...
, and as I understand it, I need to use the phone gap plugin and not the web app option since I want a mobile app. However, the folder structure that the tutorial lists is not at all like what I get in my project

eg, in this image: http://devcenter.appery.io/wp-content...

I do not have the folders that are in black other than the top BarcodeScanner folder.

and also, I do not see the cordova_plugins.js file that is mentioned.
ANDROID OAuthApp Assets www files resources lib cordova_plugins.js.

Also, the tutorial seems to be only for Android. How do we get it to work on the IOs?

Thanks.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

OAuth integration tutorial question

Hello Jo,

1) Sorry for delay. Could you please send us a screenshot of your Source tab structure?
2) Unfortunately you can't add a plugin in Appery.io for an .ipa file. You should export it as xCode project and add a plugin there.

Jo
Posts: 0
Joined: Sat Jul 19, 2014 4:50 pm

OAuth integration tutorial question

Hi Evgene,
A screenshot of my folder structure is attached.

Image

Also, I had to create all the folders in the ParkX hierarchy, including the ParkX (name of my app) folder by hand.

I tried creating a new app and there I saw that the folder structure is as mentioned in the tutorial. However, most of the development work I've done is in the ParkX project and to start a new app from scratch will be quite a task, just for this feature.

I'm not quite sure how my app folders vanished, but it is possible I messed around with the folders and inadvertently deleted them.
So, my questions is, how can I get back the original folders and is there an easy workaround.

Thanks.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

OAuth integration tutorial question

Hello!

To get original folders structure you would have to delete edited (blue colored) files and undo all source changes.

Here is more information http://devcenter.appery.io/tutorials/...

Jo
Posts: 0
Joined: Sat Jul 19, 2014 4:50 pm

OAuth integration tutorial question

It turns out that somehow all the folders within my app folder got moved up one level into the ANDROID folder as seen in the screenshot in my previous post.
I created a new folder for my app and moved back all those folders and was able to make the necessary changes to make progress with the tutorial.

Thanks for all the responses.

Jo
Posts: 0
Joined: Sat Jul 19, 2014 4:50 pm

OAuth integration tutorial question

Maybe this is not the correct thread to ask, but I managed to finish the tutorial and I want to test out the oauth.io feature, but I see that I need to build a native app to test it, and when I try to build a native app, I'm told that I need a certificate.

My question is, can I create an unsigned apk using appery ? I've seen many apks that one can install directly on android devices by allowing installations from "untrusted sources". I understand that these are not signed, so would like to do the same with my appery app.

Jo
Posts: 0
Joined: Sat Jul 19, 2014 4:50 pm

OAuth integration tutorial question

Great! I managed to generate a certificate and could get past the initial error that was caused because I didn't have a certificate.

However, now I get the error as seen here:

Image

Now since the error message is not very informative, I don't really know what to do.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

OAuth integration tutorial question

Hello!

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and let us know it's name.

Jo
Posts: 0
Joined: Sat Jul 19, 2014 4:50 pm

OAuth integration tutorial question

Turns out I needed to delete all the blue folders, then "Undo all source changes" and then it built fine.

Thanks again to the awesome appery support.

Return to “Issues”