Jasig / umobile-app-phonegap

7 stars 11 forks source link

uMobile does'nt initialize on browser if casLogin is set #48

Open germain-gg opened 9 years ago

germain-gg commented 9 years ago

Hi,

It seems that if you set something different than mockLogin and you try to run the uMobile on a browser it never initialize.

After some investigations I saw this : https://github.com/Jasig/umobile-app-phonegap/blob/master/src/js/src/app.js#L329

The problem is that deviceready is only available on phonegap and for some developments purpose it can be helpful to run uMobile on a web browser (without phonegap) with setting different than mockLogin.

May this be changed ?

mmoayyed commented 9 years ago

Yes, sure. I think I have changed that locally just to allow for development and testing, but I'll take a look in the coming days to see what can change and improve.

germain-gg commented 9 years ago

I have just update my pull request #46 with my changes to check if uMobile is running on a Cordova/Phonegap wrapper and apply the right event listener.

You should take a look.

ChristianMurphy commented 6 years ago

Hey there! :wave:

Thanks for opening a ticket with uMobile app phonegap. :+1: :bowing_man: The uMobile app phonegap is no longer being actively maintained. :no_entry: For alternatives we recommend the uMobile Android App and the uMobile iOS app. :white_check_mark:

Thanks again for contributing to the uMobile app phonegap! :sparkles: