0% found this document useful (0 votes)
38 views9 pages

NewTaxi iOS App Configuration Instructions

Uploaded by

officetechapps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views9 pages

NewTaxi iOS App Configuration Instructions

Uploaded by

officetechapps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

NewTaxi iOS App Configuration Instructions

Steps to open project in Xcode:

1. Open NewTaxi Folder


2. Right Click “NewTaxi.xcworkspace” file
3. Select Open with
4. Choose Xcode 13.2.1 (current xcode version)

Updating Google Map SDK API Key


➔ Get Google Map API key and use it to authenticate various types of Web Application,
Mobile Application

Steps To Getting Google Map SDK key

1. Click GET A KEY


2. Type / Select App Name
3. Click Enable API
4. Copy API key
5. Paste API key in Xcode Project
6. Click file folder in xcode and Click “NewTaxi→ Main → iApp.swift”
7. Paste copied APIKey

Updating APP Logo

Note:

1. Click file folder in xcode


1. Click file Navigator Tab
2. Type asset
3. Open Assets.xcassets file
2. After Opened a Assets.xcassets file
1. Search Logo Image and Replace with Your Logo
3. After Opened a Assets.xcassets file
1. Search Rider
2. Select Rider Logo
4. After Opened Rider Logo
1. Right Click the Rider Logo
2. Select Show in Finder
5. Replace the image
6. Continue a above (1 to 5) steps for Rider splach.svg

Note: Don’t Change the Image Name

Updating APP Icon

Steps To Update App Icon

1. 1.

To change the app Icon in selected folder ( image name is applogo_black.png)

1. a. Set your image name as applogo_black.png.


2. And also replace applogo_white.png with your image.
3. Use to get all size app icon, follow the link https://appicon.co/
2. Click NewTaxi Project
3. Click AppIcon
4. Click general tap
5. Click arrow icon
6. Change/Drag and drops All image according to image size

Updating Appname

Steps For Updating Appname

1. Click NewTaxi Project


2. Open general tab
3. Change display name under identity
4. Click file folder in xcode and Click “NewTaxi→ Main → iApp.swift”
5. Change appName

Updating Live URL

Steps To Update Live URL

1. Click file folder in xcode and Click “NewTaxi→ Main → iApp.swift”


2. Type Live/Demo

Updating FCM Key (Firebase Cloud Messaging)

● Get FCM Key used to push notification into different types of Web Application, Mobile
Application.
● Follow the link to create FCM https://console.firebase.google.com
● Create the project and create both driver and rider app
● Update the Firebase RealTime Database Rules.
● Click setting in selected app
● Download the GoogleService-Info.plist from firebase console
Note: Use same FCM key in web, android and iOS also.
Update Rules like below :

"rules": {

"live": {

"live_tracking": {

".read": "auth.uid != null",

".write": "auth.uid != null",


"$trip_id": {

// UID must match logged in user and is fixed once set

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"Notification": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$user_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"driver_rider_trip_chats": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},
}

},

"trip": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"trip_request": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"GeoFire": {

".read": "auth.uid != null",

".write": "auth.uid != null",


".indexOn": "g",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"demo": {

"live_tracking": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"Notification": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$user_id": {

"uid": {
".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"driver_rider_trip_chats": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"trip": {

".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"trip_request": {
".read": "auth.uid != null",

".write": "auth.uid != null",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

},

"GeoFire": {

".read": "auth.uid != null",

".write": "auth.uid != null",

".indexOn": "g",

"$trip_id": {

"uid": {

".validate": "(data.exists() && data.val() == newData.val()) || newData.val() == auth.uid"

},

Steps To update FCM Key


1. Open the Source folder
2. And then open project folder (NewTaxi)
3. Now to place / replace the GoogleService-Info.plist file Paste API key in Xcode
Project

Sinch Call configuration

1. Enable VoIP in Project

1. Click on NewTaxi then Targets NewTaxi


2. Click on Signing & Capabilities
3. View on Background Modes then Enable Voice Over IP

2. Login To Sinch Admin pannel : https://portal.sinch.com/#/login


3 Setting up your Apple Push Certificates with Sinch ( for more reference )

1. Login to the Dashboard


2. Open the Apps tab, select the application of your choice and click on the Push
Notification icon on the left-most side.
3. Drag and drop the certificates associated to your application
4. If your certificate has a password, enter it and hit Enter

4. Your push notification certificates are now uploaded and ready for use.
5. In Project set “deploymentEnvironment” to “. live” for production.

Updating Bundle Identifier

Steps To update Bundle Identifier

1. Open the Source folder


2. And then open project folder (NewTaxi)
3. Select General Tab
4. Update Your Bundle Identifier

You might also like