How to eliminate the difference between monaca debugger and built app in Evernote app

Asked 1 years ago, Updated 1 years ago, 87 views

We are developing Evernote apps based on HTML5+Javascript on the monaca platform.

Implemented by referring to the GitHub sample code that was linked from above Evernote's website.

https://github.com/evernote/phonegap-example/blob/master/HelloWorld/www/js/index.js

The relevant code has not changed since index.js above.

On the monaca debugger, OAuth authentication can be successfully obtained.

However, when I built it and checked it on the actual Android device, I tried to authenticate OAuth, but it went to the screen "Allow [App Name] to access the account→Approval", but when I pressed the approval button, I was like, "I'm sorry.The Evernote Web version does not support Android browsers.

I understand that the monaca debugger and the built apk are different (such as user agent?), but if anyone knows what the difference is or how to eliminate this difference, could you give me some advice?

I'm sorry to trouble you when you're busy.

javascript monaca jquery html5 oauth

2022-09-29 20:25

1 Answers

Since window.open is used, enable and build the CordovaInAppBrowser plug-in.

This post is @otak-lI posted it as a community wiki based on ab's comment.


2022-09-29 20:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.