facebook

TROUBLE with App Working in Android, Works in iOS

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #337662 Reply

    mreade
    Member

    Support (Octavio)

    This is related to ongoing issues with the same project that i sent last week. I have packaged the app in both iOS and Android.

    Everything seems to work fine on my iPhone. However, the people who are testing this on their Android smartphones are having problems such as:

    All of the weight field data input are fine. After they enter a value in the coefficient field, when they move to the next field, the coefficient field erases the value. This only seems to work on Android a new Note and a Razr Maxx, same problem.

    Since this has already been placed on the app store, i would appreciate a quick turnaround.

    Thanks in advance!

    mreade

    #337685 Reply

    Brandon
    Member

    I recently encountered a problem while doing some coding for someone else where it worked fine in iOS and didnt work properly in Android, after a couple hours not being able to find out why I tried to build the project using phonegap build service. The resulting file worked fine in android. I have an email into support about the issue in the build processes being different. While I doubt this is your problem too I thought I would mention it.

    #337686 Reply

    mreade
    Member

    Thanks CincyPlanet,

    It has been frustrating to say the least as there does not seem to be any problems with the coding. It seems that all of these issues I am having started after the switch over to Cordova.

    Hopefully, there will be a solution soon.

    Regards,

    mreade

    #337732 Reply

    mreade
    Member

    Support,

    I have been getting some feedback about this bug where the fields are cleared when users go to the next field.

    I have someone who has testing both the packaged (built) APK file and also just checked the web app link and in both cases the same problems exists where it does not exit within the iOS environment.

    Any thoughts on this?

    mreade

    #337864 Reply

    Hi mreade,

    Browsers interprete how numbers are represented differently. I’ve noticed that you can use i.e. “0.3” but if you enter “.3” it is not recognized on android 4.0.4 default browser and the value is cleared. Is this the behavior you are experiencing?

    #337865 Reply

    mreade
    Member

    Octavio,

    I don’t know. I will have those android users testing this try it and I will advise.

    #337868 Reply

    mreade
    Member

    Octavio

    One of the testers tried entering 0.3 as a value and no difference, it cleared when going to the next field

    #337902 Reply

    @mreade,

    Since we are not able to replicate the issue with your project, can you provide us a small example that demonstrate the problem?

    #337936 Reply

    mreade
    Member

    Support,

    I have added a screen capture of the screen which is having issues. I have drawn a red box around the two fields which automatically clear themselves after the user enters a value and moves to the next field.

    This has happened on two different Android phones. It does not matter if the user enters ” .3 ” or ” 0.3 “, the fields clear themselves once the user goes to another field.

    You already have the project which I sent some time ago. So i am not sure what else you need from me.

    Thanks

    mreade

    See attachment Android_Support_Fields_Clearing.png

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

    mreade
    Member

    Octavio,

    You mentioned in an earlier post above about browsers viewing these differently. I am a little confused. I sent the android users the APK install file which they installed on their phone. This same problem DOES NOT happen, as mentioned before, when running in the Test Center.

    Am i missing something here as i am thinking you are referring to a web browser rather than an installed app?

    Thanks

    mreade

    #337953 Reply

    support-michael
    Keymaster

    >Am i missing something here as i am thinking you are referring to a web browser rather than an installed app?

    Are you aware that MobiOne apps are HTML5 Apps, a.k.a. hybrid apps.
    MobiOne generates an HTML5 webapp. The MobiOne App Center Builder creates an app by packaging your mobione html5 app content along with the cordova/phonegap runtime framework to create a mobile binary file, e.g., .ipa file on iOS. When iOS launches your app the cordova runtime creates the display with a UIWebView (an embedded HTML5 browser) and loads your packaged html5 content directly into the browser.

    So when referring to the browser, Octavio was referring the WebView (browser) component.

    Note that the Test Center is custom webkit implementation that we have added some ios and android touch behaviors. But there is no equivalent to performance on real devices, this applies to all emulators.

    Back to Octavio’s request for a small sample project that replicates the problem. By providing a simple test case we can weed out extraneous noise from full applications and isolate the problem very specifically and quickly. We no longer accept full projects except in special performance cases. This decision is to improve our ability to respond efficiently to everyone and to prompt better more focused problem reports that we can work on without having to invest time learning someone’s app before we can work on the real problem.

    #337954 Reply

    mreade
    Member

    Good Afternoon Wayne,

    Many thanks for the reply/explanation. I better understand the process of rendering the app to iOS and Android install file better, thank you.

    As for the small sample project that replicates the problem, Octavio is already in possession of this project that i sent to support a few weeks back. However, if i understand the request it is project something other than the full project? So, do you mean strip out the other pages on the multipage bar and only provide the one page and strip all the other code in the custom.js file?

    If that is the case, no problem, I can do that and will email the stripped down project.

    thanks,

    mreade

    #337975 Reply

    Hi mreade,

    >So, do you mean strip out the other pages on the multipage bar and only provide the one page and strip all the other code in the custom.js file?
    Correct! Please include any js or runjs action that is attached to the field you are having an issue with.

    #337985 Reply

    mreade
    Member

    Ok you should have the project I sent by zip.

    mreade

    #338160 Reply

    mreade
    Member

    Hello Support,

    I am just following up on this to see if there have been any new developments as to what might be causing the two specific fields to clear themselves when moving to the next field.

    Thank you,

    mreade

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: TROUBLE with App Working in Android, Works in iOS

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