Alpha Video Training
Results 1 to 11 of 11

Thread: Login - Mobile - PhoneGap - Video UX_V12--66

  1. #1
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    273

    Default Login - Mobile - PhoneGap - Video UX_V12--66

    I've watched the "UX_V12--66" video a few times; did a step-by-step recreation of it; and even downloaded the video component and tested it.

    In both cases (mine and A's) it works via web browser without fail.

    However with the PhoneGap build, it ONLY works the first login-logout. After that, it neither presents an error or accepts my login credentials.

    On both I added an animation (spinner) that presents itself but does not login nor err out.

    Any suggestions where to look for the PhoneGap issue? OH, tested on several Android platforms.

    Carl - PhoneGap Newbie
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

  2. #2
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    273

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Tried it on various Android platforms, same result. Logs in once, then will not function pressing the LOGIN button. Not even a error when invalid credentials are presented.

    It actually functioned properly a couple of times for 2 or 3 logins, and then froze up again.

    Works as designed on web, but Phonegap build has some failure. Almost like the logout is not fully taking. Not sure.

    Sample apps should work, especially when their purpose is to showcase mobile security, as in Phonegap built mobile-apps.
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

  3. #3
    Member
    Real Name
    Adrian
    Join Date
    Aug 2014
    Posts
    65

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Same problem here - cannot get past the first screen of a Phonegap application. Any progress Carl?

  4. #4
    Member
    Real Name
    Paul Ammoun
    Join Date
    Oct 2012
    Location
    Beirut, Lebanon
    Posts
    221

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Hi,
    I had the same issue. It was an old android version (Android 2.3). I upgraded to android 4.3 then it worked perfectly..

    I am not an expert but hope it helps..

    Paul

  5. #5
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,540

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Carl,

    What are the Android versions you're working with?

    4.3 and 4.4 seem to be ok. Anything prior is absolute hit and miss and when you look at them, 4.2 and prior are a couple of years old. Normally that should present an issue (given you can probably run stuff on an old iPhone) but Android was a bit of a mess.

    I actually can't even confirm 4.4.0 because I only started with 4.4.2 and now only work with 4.4.4. But I hear that 4.3.x and 4.4.x are workable.

  6. #6
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    273

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    4.4.2.

    Haven't worried about it for a while, but it is coming back up shortly.

    Carl
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

  7. #7
    Member
    Real Name
    Adrian
    Join Date
    Aug 2014
    Posts
    65

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    OK my problem is resolved And as usual it was my own fault In order for Phonegap to work with any application server on HTTPS - the SSL Certificate Chain file must be there and working 100% in the server's config. You can test you SSL certificate using many tools such as https://www.ssllabs.com/ssltest/

    IF anyone has the same Chain (Intermediate) Certificate issue Phonegap will not work. In my case I had to place all my CRT files into a single bundle.crt file in the order shown below.

    yourdomain_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> ssl-bundle.crt

    Hope this helps someone!

  8. #8
    Member compuaid's Avatar
    Real Name
    Brad Weaver
    Join Date
    Aug 2007
    Location
    Ottawa, ON
    Posts
    368

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Well I can't even FIND video UX_V12--66. Where are you watching this because my next step is to incorporate web security into a Phonegap app. Thanks! BTW I've looked in both the video finder in Alpha and on videos.alphasoftware.com as well as the Alpha Youtube channel so I'm obviously oblivious!
    Brad Weaver, President
    ComputerAid International
    Ottawa ON Canada
    Versailles KY USA
    www.compuaid.com

  9. #9
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    273

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    I'm busted! .... UX_V12--65

    From Video Finder with a filter of "login"

    Carl
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

  10. #10
    Member compuaid's Avatar
    Real Name
    Brad Weaver
    Join Date
    Aug 2007
    Location
    Ottawa, ON
    Posts
    368

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Thanks Carl! Just like in programming it's those pesky little details that come back to bite you (I mean you were only off by one...come on!)
    Brad Weaver, President
    ComputerAid International
    Ottawa ON Canada
    Versailles KY USA
    www.compuaid.com

  11. #11
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    273

    Default Re: Login - Mobile - PhoneGap - Video UX_V12--66

    Turns out my app might be able to avoid the mobile login process.

    At the mobile, I pick up the DeviceUUID and reach to the sky for the data.
    That DeviceUUID is paired to the field person and data is queued for that device.

    If the guy loses or changes his device, they un-queue the data and hang it on his next mobile devices UUID.

    No login, no password, the data is there or it is not. Puts it back on the data admin to let the data roam, or remain locked up.

    The data is route data, with no security-sensitive data.

    We'll see if they change their mind somewhere down the lane. ;^))

    Carl
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

Similar Threads

  1. Buiding My Mobile App with sql server database using phonegap
    By freakamaniaq in forum General Questions
    Replies: 4
    Last Post: 09-15-2014, 05:37 AM
  2. Replies: 2
    Last Post: 05-08-2014, 06:04 PM
  3. Mobile App with Phonegap - why defaulting old data on UX?
    By JPMPA in forum Mobile & Browser Applications
    Replies: 4
    Last Post: 05-08-2014, 02:25 PM
  4. Best Practice for sub-components in mobile applications - video UX_V12--54
    By ssmoore1 in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 11-14-2013, 04:41 PM
  5. Replies: 1
    Last Post: 08-19-2013, 03:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •