I have a react-native based question, we are building a react-native application that will use authentication to call a secured API for data.
This is all built in react-native, however I am wanting to build a Apple Watch app (I know react-native doesn't and won't likely soon support this) So I am planning to go native swift for the Watch App.
My question is, does anyone know if you can use the react-native based authentication and api mapping to supply a json object to the Watch App? I want to simply display a json schedule on the watch from the phone.
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 want to build a very simple gallery like app (which uses the Telegram bot API to fetch images from certain telegram channel). I want to have this app for both Android and iOS device. I guess either progressive web app or flutter could be used to achieve this. I have developed native android apps before, and wish to learn PWA or flutter along with this project.
So my question is, can I deploy this app to my iOS device without enrolling in the Apple developer program? Since this is only for personal use and I do not wish to publish this app on any app store. Also, do I need to have a Mac with Xcode to do this?!
Thanks in advance!
For developing a Progressive Web App for iOS, you won't need Xcode and a Macbook since it is basically still a website with enhancements. However, bear in mind that PWA support on iOS is very limited. Android has much better PWA support.
This article gives an overview of what is currently possible
I have built an angular 6 app with a splash screen with Cordova and deployed successfully to the android play store, however I get the following rejection from the IOS app store when I submit the same web code in a cordova app:
Your app did not include iOS features. App Store apps should use native iOS buttons and include iOS features other than just web views, push notifications, or sharing.
It appears it won't pass the review process as a webview only app, however I thought this is what Cordova is for! Is there anything else I can do to make it pass the app store review? Add other native plugins?
I don't want to move off Cordova as it looks great technology.
Google play app : https://play.google.com/store/apps/details?id=io.footballmatcher.app
Any help on this would be very much appreciated.
Thanks
Steve
I'm looking to build an iOS hybrid application that also utilizes an Apple Watch application. The watchOS app collects Altimeter data to be stored, and that's it. I was thinking of using this plugin since the watchOS portion is written in Swift. I haven't yet begun the iPhone app, it's just blank right now, but was thinking of making it a hybrid application using Cordova. I've been searching for the best way to share data between the applications, and I think SQLite may be the easiest.
This cordova plugin can be used to manipulate data in an SQLite database using JS. That could be used in the iPhone app. I guess my quesiton is - is this possible? If I create a database in swift using this library, will the Cordova plugin be able to access it? Does anyone have any better ideas for sharing data from a native watchkit app to a hybrid iPhone app?
That will not work. If you create a SQLite database in the watch application running on the watch which is a physically different device than the iPhone running your cordova app, how should the application running on the iPhone access the database?
The way to go to use a watch-kit application in combination with a cordova app is cordova-plugin-apple-watch. The plugin offers three different possibilities to communicate between the watch app and the iphone app:
Message passing
Local notifications and
User defaults
If the data should be accessible by both apps and it should be persistent (like a database) the way to go is probably user defaults. But if you just want to send data from your watch-app to your cordova-app (which will not be needed on the watch anymore) then message passing does also work (the cordova-app can then store the data wherever you want).
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.