I currently have a app created using PhoneGap running solely on IOS, with future plans of possible providing multi-platform functionality. I am trying to implement a VOIP feature (like a Walkie Talkie) into my app solely over an internal network. I tried exploring Phono but to no avail as it requires me to be connected to the internet. What other options do I have?
What you need to do is to implement your VOIP functionality in native and then make a custom plugin for PhoneGap so your HTML5 app can communicate with the Native code.
You can use Twilio Client if you don't want to write everything yourself.They have API for both iOS and Android
http://www.twilio.com/client/mobile
To make a custom plugin for PhoneGap take a look at:
http://docs.phonegap.com/en/2.3.0/guide_plugin-development_index.md.html
The other option is to use WEBRTC:
http://www.webrtc.org/
Related
I want to build html5 application using some frontend framework like angular or vue.js and then I want to make a mobile app from it. I don't need this mobile app to be native, so that's okay.
Then I want to put it into webview to make a mobile app from it.
I know this is possible with android. Is this possible with ios?
And will it possible to send push notifications?
ps: I don't want to use react native or cordova cause it will be much more difficult and we will run over the budget for this mvp
While technically possible, if you're planning on trying to put it on the app store, you're likely going to run afoul of the app store guidelines and will likely get rejected:
4.2 Minimum Functionality
Your app should include features, content, and UI that elevate it
beyond a repackaged website.
https://developer.apple.com/app-store/review/guidelines/
Technically, all you need for a push notification is to get the mobile id (the one they register to APNS) then send a notification package to apple some way (normally a remote server) to register a new notification. My question is aside from notifications, why not just build a different sort of app like a progressive web app?
I have a need of using node.js libraries on iPad/iPhone, like tone.js to trigger generate sounds, see https://tonejs.github.io/
The app itself can be a react native app or based on Swift.
Are there any modern possibilities, or maybe there are better ways of doing than doing it with node?
I dont think the web audio api used by tonejs works outside of a webview.
for react native use
https://github.com/zmxv/react-native-sound
I have developed a web application using angularjs, now i want to convert ios application with iBeacons device searching functionality.
Is it possible to do this, any one please give me advice on this?
Yes this is possible, you can repurpose your Angular single page app into a Cordova/PhoneGap container, then use appropriate plugins (which bridge platform specific native code to Javascript) to add iBeacon or other beacon support. If you don't find plugins that do what you want, you can create your own if you are comfortable working in the native languages of the platforms you want to use (Java for Android, Objective C or Swift for iOS).
Example plugins that already exist to help with this would be:
cordova-plugin-ibeacon
ngCordova Cordova Beacon
There's an example of how to go about this using Angular JS / Ionic framework here.
There is no way to directly scan for beacons in JavaScript. This is true whether you are talking about a web app running in Mobile Safari on iOS or inside a UIWebView container within a native iOS Web app.
If you want to combine JavaScript-based apps with beacons, the alternative is to build Hybrid apps using technologies like Cordova or Ionic (which is built off of Cordova). You can then use Cordova plugins that let you interact with native code that does the beacon scanning, and pass it back to your JavaScript application. One such plugin that accomplishes this is here:
https://github.com/petermetz/cordova-plugin-ibeacon
There are limitations with this approach. Beacon scanning typically has to be in the foreground, and you can't really wake up the app on beacon detection.
Full disclosure: I am the lead developer on the Android Beacon Library open source project upon which the above plugin is based.
I am planing to develop an VoIP iOS app and use Twilios SDK. I am making the choice to either use LiveCode, Appery.io, PhoneGap or build a native Objective C app. I am going to build the app for iOS, Android and HTML5 so the ideal would be to develope in JavaScript for all platforms, but as I understand the support for WebRTC is laking on the iPhone so the alternative for iOS is the native twilio SDK.
My requirements is:
be possilbe to use in iPhone 5 with iOS 7 be able to use twilio iOS
SDK´s voip functionality or twilio´s js SDK (if it is possible to
wrap a browser that supports RTC in the code?) be able to integrate
billing such as in-app payment or paypal with zooz or similar
communicate with REST API´s such as Amazon S3 or a node.js server
store temporary info in a SQLLite db when app is off line make fast
and responsive views (file listings etc) is very important
create cfuuid´s
I have seen several Twilio projects that use PhoneGap but none that are using LiveCode.
I have already built an iOS VoIP app in Objective C, but I want to be able to release it on several platforms also such as for Android and build a HTML5 app, without redoing everything.
This isn't really a programming question and should perhaps not be asked here.
You can create an external for LiveCode and quickly create an interface using the LiveCode IDE. This is probably a quick and easy way to make a working app. If you're starting with LiveCode but are experienced in Objective-C, creating an external won't be a problem for you.
LiveCode doesn't contain native iOS controls, which means that you have to emulate the GUI. If you use PhoneGap, you also will need to compile a plugin for PhoneGap using Objective-C, but you can use a framework, such as JQuery, to get the right GUI.
Either way, you will have to compile the SDK and you'll need to be quite profound in Objective-C.
LiveCode will meet all your requirements. However, Apple will deny your app if you use PayPal for in-app purchases. You'll have to use Apple's in-app purchasing feature. I believe this is possible in LiveCode now. I'm not sure how easy it is.
I'm not sure about file listings either. On iOS, you won't have complete access to all files on the phone. This isn't a LiveCode limation but a limitation of the OS.
I am a web developer who needs to build an HTML5 mobile app - which we will need to try and submit to app stores, including Apple's App store. Therefore, I need to somehow wrap my app into a native framework.
That being said, I don't have time to learn the nitty gritty of Objective-C and figure it all out.
I am trying to decide between using a service like PhoneGap, or simply creating a smaller native app with a webview that pulls up my mobile app from my site's server.
In this case, the only native hardware that my app needs to be in touch with are push notifications (probably through Urban Airship) and Geolocation (which can be accomplished via HTML5).
When is it wise to go with something like PhoneGap vs. simply creating a UIWebView, and vice versa? Which would you suggest in this case?
Apple is loyal enough to PhoneGap apps - almost no problems with approval on iStore. You should just follow Apple Human Guidelines and everything should be OK.
PhoneGap provides lot's of different and interesting features. Also it's cross-platform - works great on iOS, Android, WP7 etc. I think it's the best way to wrap your HTML5 and JS.
Talking about pushes - if you select phonegap, i recommend to look at pushwoosh service.