Firebase vs CloudKit Target Store Options - ios

I'm currently making an app using Swift. It's an app similar to those of restaurant rating apps where users rate restaurants and leave comments. I have two questions.
1) Is it possible to launch my app on both Google Play Store and App Store if I choose to store my servers on CloudKit? If yes, which one is easier to integrate into my app?
2) If I choose to use Firebase, since I'm using Swift as my coding language, can I still launch my app on both Google Play Store and App Store?
Thank you very much in advance.

Typically anything "____kit" from Apple is a framework that's exclusive to the App Store. The features from SiriKit or HealthKit certainly cannot be launched on the Google Play Store.
If you're trying to deploy on both iOS and Android, I'd definitely choose Firebase. I use it myself on an app my company is creating, and have had no problems so far. It's owned by Google so you'll get great support on both iOS and Android.
Firebase is probably more powerful as well due to its connections into Google Cloud and Cloud Functions.
Hope that helped!

Related

Is it possible to download another app in Swift?

I’m new to swift, and was wondering if I could download an iPhone/iPad app using swift (for example, I’m looking for something like an App Store API).
In a word, no.
Apple's security protections don't allow apps to install other apps. That would be a huge vulnerability.
And, as Rob pointed out in his comment, creating your own App Store would be a direct violation of the App Store guidelines you have to agree to in order to publish your apps on Apple's App Store. (Their ball, their rules.)

How can I upload my ios app to apple store?

My iOS app is based on WebView.
I want to register this app to app store.
After submit, I can see this message from support team.
Hello,Thank you for your patience.
Regarding 4.2.0, your app provides a limited user experience as it is not sufficiently different from a mobile website. Specifically, your app does not contain any native iOS features within the app.
To resolve this issue, it would be appropriate to revise your app to provide a more robust user experience by including additional native iOS functionality..
We look forward to reviewing your resubmitted app."
How can I upload my app to app store?
My app is just to show only website on iOS webview. Just a simple app.
Please help me with this problem.
You can't.
I know this isn't the answer you were hoping for, but unless you change your app to significantly use some native iOS features, Apple will continue to decline your app. This is to ensure a minimum level of quality in the apps available. Due to this regulation, WebView-centric apps will not be accepted on the store. Please have a read on the guidelines to help you understand
If you really want to get it up on the store, you will have to add features. Otherwise, there are alternative distribution solutions that don't require publishing to the App store, but more often than not they are for businesses & in-house deployment.

Maintain Session after app Update in React Native

I have currently working on react native ios app and for testing purpose i have submitted app on test flight mode in ios.
I have created session management with help of AsyncStorage this feature helpful still app will not updated,but after app updated AsyncStorage will dis-troy.
My question is that how to maintain app session storage after app will updated.
If any one have idea please answer this.
Thanks in Advance.
You can save login data directly in database (for example you can use something like Realm).
However pay attention on how you use AsyncStorage especially on Android (you probably don't want to have a "clear data" backup on Google, see this).

How to access iCloud as core data for iCloud is deprecated

I am working on an app using core data as I thought I could use sync functionality provided by core data for iCloud for syncing data between iPad and iPhone, now it is deprecated.
I came across CloudKit but it is mainly to create and manage data that can be consumed by community of end users but not just one like chat apps. My app is only for single user so that user can sync their data between their apple eco system devices.
I am new to iOS development so it would be helpful to know which technology will meet my requirements.
In short, can you please suggest what should I use
If have to store data on phone for offline use
Then sync it across devices if user have say iPhone, iPad, and iWatch
P.S. Can you please suggest something that doesn't need the user to be signed into iCloud while saving the data.
The CoreData/iCloud integration is deprecated in iOS 10 / macOS Sierra, and there is no replacement (at least so far).
Way forward so far :
Use third party framework such as Ensembles : http://www.ensembles.io
Use CloudKit, which can be used for that. See this for a help : https://nickharris.wordpress.com/2016/02/09/cloudkit-core-data-nsoperations-introduction/
Note that CoreData/iCloud integration will still be working for some time in the future. Apps that are using it will not suddenly stop working.
Apple just released a new container for Core Data that can sync across devices with iCloud.
Get started here: https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/setting_up_core_data_with_cloudkit
Note, this requires iOS 13.
You should take a look at the videos from the latest WWDC.
Here is something about CloudKit Best Practices and whats new in cloud kit
CloudKit really have some nice out of the box solutions and you dont have to bother about security. Also the newest functionality enables you to use notifications for synchronising apps using the same apple id and even beyond, as the user can now opt to share certain data.
Depending how much data you are syncing, NSUbiquitousKeyValueStore.default() is also an option. But only for very less data

What will happen to my iOS app (currently live on the App Store) when I upgrade Firebase?

Been programming iOS apps for a few months and my first app is live on the App Store supported by a database hosted on Firebase. I'm storing data related to gluten-free places around the world on Firebase (name, address, latitue, longitude, imgURL etc.) and these places are then displayed on a Map.
Firebase released all their new features, I wanted to upgrade to start using their new Analytics modules. Now by reading the upgrade guide I understand that there are a few things that we need to tweak in our code first.
So here is my concern (maybe dumb question but I want to be extra careful before doing stupid).
Since my app is production on the App Store, if I upgrade my Firebase project, will my users still be able to use my app properly (i.e. getting the places displayed on the map) or will it break/bug/crash until I push an update to the App Store with an updated code based on Firebase's guide.
Thanks in advance for your help guys.
Edouard
I do think that it will not affect your current app unless you change the database model in web interface, or change the authentication rules in web interface.
Firebase frameworks actually pointing to the same server, and same database model right.
The new Firebase includes lot of features and new stuffs into the system, but still they do support the old frameworks. My app is currently running on the new Firebase web interface but using very old Firebase framework, it's not in production though.
But I can tell you that you can upgrade to the new Firebase even if your app is in App Store.

Resources