facebook

Blank (white) Page after page transition

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #334682

    support-michael
    Keymaster

    I dug into your app and noticed that you have loaded a number of 3rd party js and css files that most likely have 1 or more points of incompatibility. See the following screenshot of the error I encountered in chrome. There are others as you have observed with the alert that is popping up on some type of timer.

    I’m not sure how deep we can go debugging this assortment of libs and technologies as I strongly suspect there will be additional incompatibilities and then completely different behavior when moving from desktop testing to different devices and os versions. Did you develop the code for the navigazione UI or acquire it from another source? I’m generally curious if panojs.js runs on any mobile device?

    Attachments:
    You must be logged in to view attached files.
    #334696

    ilsuocero
    Member

    @Waine,
    the transition error happened BEFORE I added those libraries. Look at the previous project I sent to you.

    As I said in a previous post, I cannot delete libraries once added to a project since mobione tries to include them during generation phase even though they are not included in screens. In the project I sent you yesterday, the home screen (iCostabrada.mobi) has not libraries included.
    Try also to use a empty (default) iCostabrada_custom.js.

    About your question: I have a full working app tested on iPhone(*) & Android, developed with mobione and using Panojs, but is a single screen. The project I sent yesterday is the union of the two app: navigation(panojs) and Home&DownloadMaps stuff. I repeat: the blank page transition happened in the Home&DownloadMaps which I developed separately from the Navigation (see the first project I sent to you)

    (*) waiting for IOS 6 well known bug on navigation.geolocation resolution

    #334755

    ilsuocero
    Member

    @Waine

    just to be sure I put in the project the ext-core-debug.js
    The error you showed me is in this code which seems just a try and not a severe error:

         * Removes the specified object from the array.  If the object is not found nothing happens.
         * @param {Object} o The object to remove
         * @return {Array} this array
         */
        remove : function(o){
            var index = this.indexOf(o);   <----- line in error
            if(index != -1){
                this.splice(index, 1);
            }
            return this;
        }
    });

    Every page transition running fine, gets this error so seems not to be related to the page crash. Anyway the page crash happened before the ext-core.js insertion in the project.

    I going try to do some more tests. As soon as I got better examples I will send them to you

    #334768

    ilsuocero
    Member

    @Waine
    I sent you a new test project. It is the same I first sent you with two screen deleted: MapDetail and LocalMapDetail
    Why? I do not know, just a test.

    The transition between Home and Impostazioni crashes.
    The transition between Mappe and MappeOnLine gets the error below and does not crash but stops before the transition

    This could be a better start for you.
    No strange libraries linked, no cusom js.
    Thanks
    Roberto

    
    non_object_property_call: Cannot call method 'apply' of undefined
    Stack:
    TypeError: Cannot call method 'apply' of undefined
        at runUserCode (http://v23.mobioneappcenter2.appspot.com/get/cbb989272250436cb999bc2d54108ab4/res/phoneui.js:1409:16)
        at doClick (http://v23.mobioneappcenter2.appspot.com/get/cbb989272250436cb999bc2d54108ab4/res/phoneui.js:2010:6)
        at HTMLDivElement.<anonymous> (http://v23.mobioneappcenter2.appspot.com/get/cbb989272250436cb999bc2d54108ab4/res/phoneui.js:2124:12)
        at HTMLDivElement.v.event.dispatch (http://v23.mobioneappcenter2.appspot.com/get/cbb989272250436cb999bc2d54108ab4/res/jquery-1.8.3.min.js:2:38053)
        at HTMLDivElement.o.handle.u (http://v23.mobioneappcenter2.appspot.com/get/cbb989272250436cb999bc2d54108ab4/res/jquery-1.8.3.min.js:2:33916) TypeError {} phoneui.js:1413
Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: Blank (white) Page after page transition

You must be logged in to post in the forum log in