real time sync device contacts with ionic application - swift

Friends I need help in sync contacts from mobile to my ionic app just like when we save the new contact in our device, it automatically syncs to WhatsApp and other applications, I need the similar function to use in my application. Whenever user adds contacts to mobile, it should automatically sync to my ionic app.
I am looking for swift and fast reply,
thanks

Related

How does Instagram check if the users contact are using the application?

In the Instagram app you are able to sychronize your contacts and than the app shows which of them use the application. They are probably using the Contacts framework. Are they fetching the numbers of all contacts and than comparing them in their database?
Yes, once you allow to give access to your contacts. Step #1 is to sync your contacts with their server and they checkout in their database, if any of your contact already using the app (registered to app with that mobile number), they show it for you to better getting in touch with them, otherwise shows you an option to invite them to get started.

How do I open the Contacts app Swift

Is there a URL to open the contacts application from within my application? I know you can achieve this with the settings app by using the UIApplicationOpenSettingsURLString constant in Swift; however, I wasn't sure if I could do the same with the Contacts app.
There isn't a deep link for opening the Contacts App.
Apple is very picky when it comes to deep-linking. They have to provide one for Settings since many apps need services like Data, Location, Bluetooth, Wifi, etc.
Unfortunately they do not extend this to the Contacts App.
However if your app needs contact information then for that Apple has provided a Contacts framework to browse through your contacts within your app itself.
Read more about it here.
In order to add/update/delete/merge contacts directly from your app without using the Apple's Contact UI, use the CNSaveRequest APIs. More on that here.
The closest thing you can get to opening a contact is to write them a message in IMessage. From this screen the user can press the contact icon and open the contact page for that particular contact.
You can do this by opening the url sms://+44776382223 where the number is the number of the person that you would like to view the contact of.

Xcode 7 Swift 2 Prompt user to rate your iOS app within your app

I've seen many posts on prompting/alerting user to rate the app within the app. As I understood, Apple will only allow users to rate it within App Store.
Now in my app, I would like to have a button to rate my app. When you click the button, it should take the user to App Store and directly to my app Page.
How I can create the link to my App in App Store when I've not yet uploaded my app in App Store. How will I know to direct the link to my App in App Store?
Any help will be appreciated.
Thank you.
You can use the app identifier number that is attached to your app that you see in your iTunes developer account. It will not be a live URL until your app is published. More information here:
How to link to apps on the app store
The button itself should have an action function that opens a browser, like so:
UIApplication.sharedApplication().openURL(NSURL(string: "<YOUR_APP_URL>"))

How to link android app in facebook api

So I have an app that is live on the app store and google play. I have no programming skills so the programmer I hired did all the work. Recently we ran into a road block because we don't know how to direct the users to the google play store when they click on the notification link on an android phone.
Here is a screen shot: http://screencast.com/t/ubiqG4upYz
When the users are on an iphone device. Tt directs them to the app store. We're just trying to figure out how to do the same for android users.

iphone application update

i would like to check:
if a user downloaded my app, than i make some update to app, data etc., itunes will auto remind the user of the update through app store, and the user can update for free? or do i have to set such reminder in my application?
else, is there a way for me to send this notification?
thks
Rgds
Yes, the phone notifies of app updates through the App Store app and app updates are free.
Alternatively, you can use push notifications to notify the user that a new version is available, or display an alert the next time they open the app.
To do the latter you can query the version of the app ([[NSBundle mainBundle] objectForInfoDictionaryKey:#"CFBundleVersion"];) and compare it to a value provided by your web server.