- This topic has 6 replies, 2 voices, and was last updated 11 years, 10 months ago by Yann.
-
AuthorPosts
-
YannMemberHello support,
my feedback and problems encountered on Mobione 2.3.2 dev 10– Regulary crash on call function
function gotolink(mylink) { phoneui.showURL(mylink, '_child', {showLocationBar: false, }); }
– Google Map not displayed on entire page when used with multiple pages widget.
– Multiple prompt alert when i call :function deleteIdt(id) { navigator.notification.confirm( 'Voulez vous supprimer ce message?', deletemsg, 'Avertissement', 'Oui,Non' ); }
Hope this help you
Yann
support-michaelKeymasterWe are digging in to see what’s up with your issues. From your other reports it sounds like you are developing a native app. Can you describe the runtime environment you are experiencing crashes on, (e.g., webapp in TestCenter, native app on iphone4/iOS 6.1…)?
– Regulary crash on call function
Code:
function gotolink(mylink)
{
phoneui.showURL(mylink, ‘_child’, {showLocationBar: false, });
}Is the issue caused by the webpage format at ‘mylink’. For example you elaborate that something quirky is happening with an <iframe> here: http://www.genuitec.com/support-genuitec/viewtopic.php?p=15737#p15737
If yes, then the scope of the problem broadens as we now have content from other sites that may be totally goofed on a mobile device. For example, you should always start by ensuring the embedded site does not restrict itself from being using in a frame X-Frame-Options (https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options). The list of problems goes up from there such as scrolling in the frame and frame sizing….
– Google Map not displayed on entire page when used with multiple pages widget.
Can you share a small example project that demonstrates this issue.
– Multiple prompt alert when i call :
Also can you share a small example project that demonstrates this issue. Are you accounting for the async nature of this confirm() api?
YannMemberHello Wayne
thanks for your response.Yes i’m developping a native app and iOS 6.1.2 (iphone 4)
Is the issue caused by the webpage format at ‘mylink’. For example you elaborate that something quirky is happening with an <iframe>
i will try to explain in good english my problem. I display remote data by calling from database texts and links.
if i found video link i replace URL by this tag:<iframe src="http://www.youtube.com/embed/lTx3G6h2xyA?wmode=opaque width="320" height="220"></iframe>
to display video directly in my app, i tried also tag <video> without success.
if i found normal link i call this functionfunction gotolink(mylink) { phoneui.showURL(mylink, '_child', {showLocationBar: false, }); }
Can you share a small example project that demonstrates this issue.
Yes i do , can i send you by mail?
so can you share a small example project that demonstrates this issue. Are you accounting for the async nature of this confirm() api?
Yes but i have not this problem in test center only in native app..
i can send you a small project
thanks a lot
Yann
YannMemberi just sent you a mini project by email but with my professional email (i’m registered user on my personnal email)
let me know if this is a problem
thanks
Yann
support-michaelKeymasterOC and I were running your test project (thanks for trimming it down; so helpful). Used iphone5/ios6.1 and iphone 4/ios5.
1) the map update problem is hard to replicate. I did notice on iphone5/ios6 at one point that it slowed to update map tiles and occasionally did not update a tile. But then later on retest map tiles loaded nicely – sometimes slow but they completed consistently.
2) on the issue with dynamic loading of a web fragment with an <iframe> to youtube video player.
The demo app failed on the video page. Not sure what to say there yet. We have other reports for users with <iframe> loading issues in popup browser (a.k.a., childbrowser). Research is in the queue but it is behind some issues with other media player on ios which are totally goofed now on ios6.3) is there something with the alert page that should be looked at closer?
Is it loading dynamic web fragment as well?
YannMember1) i think i found the cause of map problem, i launched initialization of map for each click event on tabbar. Now i initialize map one time and re-call dynamic markers only.
2) Sorry i had a reset of database, please change id=110 by id=241 in querystring. i read on StackOverflow than this option <preference name=”stay-in-webview” value=”true” /> must be configured to fix the problem.
3) Yes, but this problem appear only when project is compiled , and in my project only when js function is called by ajax and when he’s in a loop (may be a way for you?).
i sent my entire project to support by mail with object “Nativ app IOS ok -> Android crash” for Octavio “, in my project if you go to + (tabbar) -> Amis and type “san” in search engine
Click on “Sandrine” result you will see.Thanks
Yann
YannMember@ Wayne
Hello
i found problem about multiples alert, it was my fault sorry
Multiples alerts came from iscroll, i used .autocomplete of jquery and each result called a new scroll , i deleted the new scroll declaration from loop and it work now
i looking for a solution now to display remote video via <iframe> or may be create page with tags of video widget who’s call a youtube video..EDIT: Finally i write this post too quickly, by delete my scroll declaration i lost scrolling 🙁 Damned
Thanks
Yann -
AuthorPosts