SOLVED: Custom UNA app feedback
Hello UNA team;
( Alex T⚜️ Andrew Boon )
We have the custom app version 1.4.0.
I am having problems about javascripts in both platforms (latest ios and android.)
For instance it is possible to open a new window, but not possible to close it with simple java script close() method.Or for jquery there are limitations an example:
I have a jquery script that checks our email server for the new emails of the current logged UNA user through a proxy php script at the directory of UNA installation, but this is also blocked in app while it works at browsers.
I think There are permissions needed for running JavaScript for the custom UNA apps.
ps: jquery works no need to load it at the beginning UNA already has it. no need for "no conflict" scenario.
-
- · Cem
- ·
there are some suggestions here:
https://stackoverflow.com/questions/7548172/javascript-not-working-in-android-webview
-
- · Rocco
-
·
In reply to Cem
- ·
Already test it?
-
- · Cem
-
·
In reply to Rocco
- ·
No these are from oldest (1.4.0.) UNA app.
-
- · Rocco
-
·
In reply to Cem
- ·
1.4.0 and 1.4.1 has no big differences in code!
-
-
·
Alex T⚜️
- ·
I think it isn't good practice to open separate window from mobile app, it's better to just navigate to another page. If you still need some sort of popup window, then it's better to implement popup, like .dolPopup()
-
·
Alex T⚜️
-
- · Cem
-
·
In reply to Alex T⚜️
- ·
thank you Alex I will check that popup function 👆
is there a page that we may read about these kind of handy UNA functions? -
-
·
Alex T⚜️
- ·
Mobile app is configured to work with one domain where UNA is installed. All other URLs should be opened in external browser. So it maybe this cause such behaviour in Android app, if you want to allow some additional domain you need to add other domains in App.js file:
var aExceptionsUrls = [ 'redirect_uri=', 'redirect_uri%', 'redirectUri%', // Facebook/LinkedIn Connect and other Connect apps 'signin/oauth', 'signin%2Foauth', // Google Connect '/m/oauth2', // Dolphin/UNA Connect 'api.twitter.com', // Twitter Connect ];
-
·
Alex T⚜️
-
-
·
Alex T⚜️
-
·
In reply to Cem
- ·
thank you Alex I will check that popup function 👆
is there a page that we may read about these kind of handy UNA functions?Yes, this is sample page with UNA popups .dolPopup()
-
·
Alex T⚜️
-
- · Cem
-
·
In reply to Alex T⚜️
- ·
thanks a lot :)
this will really help.
I always admire the infrastructure of UNA, it is really very carefully designed.wonderful.