Web應用程序vs iOS應用-地理位置考慮。

[英]Web App vs iOS App - Geo Location Considerations

I am working on developing my first app. Essentially, I am trying to create a roadmap at this point and I am having difficulty figuring out what path is the best. I need users to be able to login with either their gmail account or their facebook account. Once they log in, I need permission to access their location, pictures, name, age and interests (facebook).


Would it be wiser to develop this app for iOS and Android separately or because it is a web app, I can make it compatible with both android and iOS devices and develop it with something like jquery mobile? The location part of the application is key. I was planning on using HTML5/JavaScript Geo to look up the users current location. Will this suffice? Or do most applications use the native OS geo location tools?

如果單獨開發iOS和Android的應用程序,或者因為它是一個web應用程序,我可以讓它與Android和iOS設備兼容,並開發出類似於jquery mobile的應用程序,這樣做會更明智嗎?應用程序的位置部分是關鍵。我計划使用HTML5/JavaScript Geo來查找用戶當前位置。這足夠了嗎?或者大多數應用程序使用本機OS geo定位工具?

Essentially the end goal is to develop a downloadable app for both iOS and Android. Which asks the users for permissions to access their friends list, location services, name, age etc. Once access is given, the user stays logged in until they manually log out. I appreciate any guidance in this regard. I am trying to avoid spending a lot of time on developing a big project on the wrong path and I appreciate any suggestions.


Thanks in advance


1 个解决方案



The answer, of course, is it depends. HTML5 geolocation works fine if you just need the location. If you want to track someone accurately (for example a running app or a driving app) and need frequent updates then you want native. If you want your location updates to function when the app is minimized then you want native. Also, HTML5 may not work on older phones and older browsers, whereas native is guaranteed to work if they are able to open your app. But at this point, most phones will work fine.


Your third option is to split the difference if you don't want to build/support multiple native apps (or don't want to learn multiple languages). There are plenty of frameworks (e.g. PhoneGap, Cordova, etc) to allow you to build native apps (which access native geolocation) using web technologies like HTML5 and Javascript which function on all (major) OS platforms.




粤ICP备14056181号  © 2014-2021 ITdaan.com