Hey there, We are happy to see you as our valued customer of the Vegi - The Ultimate Grocery - Food - Milk - Ordering app. Here is the easy documentation to set the app and ready to launch. Please follow all the instructions carefully and don’t skip any step. Feel free to contact us if you face any problems while set-up.
Install the Cocoapods :
Install the cocoapods.
(FYI : All required pods are declared in pod.init file, Just you need to install it)
Change your bundle :
Extract the folder you downloaded from the codecanyon.
Open iOS project (Vegi.xcworkspace) in Xcode.
Find bundle identifier and change with your bundle identifier
Change App Name :
Change App Icon :
Create app logo from this website ( https://makeappicon.com/ )
Drag and drop all images to according to size.
Firebase setup :
Create Project in Firebase
Open Firebase console ( https://console.firebase.google.com/u/0/ ).
Select the add project tab.
Enter your project name.
Tap the Continue button.
Tap the Continue button for google analytics.
Select Default account for firebase.
Tap on the Create project button.
Tap on the Continue button.
Select iOS.
Enter your bundle identifier & app name.
Tap on the Register app button.
Download GoogleService-Info.plist file.
Drag GoogleService-Info.plist file in your Xcode project below Info.plist file.
Tap on the Next button.
Tap on the Next button.
Tap on the Next button.
Tap on the Continue to the console button.
Create APNs Auth key for push notification :
Log in using your Apple developer credential.
Select Certificate, IDs & Profiles tab.
Select keys tab.
Tap on the + button.
Enter Key Name & Select Apple Push Notification Service
Tap on the Continue button.
Tap on the Register button.
Download the APNs certificate & Tap on the Done button.
Open the Firebase console & Select your project.
Tap on the iOS tab & Select the setting tab.
Select the Authentication tab.
Select Sign-In-Method.
Select the Google edit icon.
Select could messaging tab.
Tap on the Upload button in APNs Authentication Key.
Select downloaded APNs certificate.
Enter the Key Id.
Enter the Team Id (display in the membership tab in the apple developer panel).
Tap on the Upload button.
Configure URLs and Keys in Xcode Project :
Open Vegi.xcworkspace file.
Select Vegi in the navigation tab.
Select Vegi From targets.
Select the Info tab.
Select the URL Types tab.
Open GoogleService-Info.plist file (which is downloaded from firebase console).
Copy Reverse Client Id.
Paste Reverse Client Id in URL Schemes.
Copy Client Id.
Paste in Constant.swift file
Enter Base URL & Upload Base URL & Unique-Key
Configure Stripe :
Create account in Stripe (https://dashboard.stripe.com/login)
Login with your stripe account.
Go to Developer > API Keys
Copy Publisher Key & Secret Key and paste in Constants.swift file show as below.
Changing Currency Constant for Stripe Payment :
Go to this link, where all of the supported currencies has been listed supported by Stripe
Find the currency in which you want to accept payment from users
And change that currency identifier (eg: “USD”, “INR”) in the Constant.swift file as shown in the image below
Change Currency, Support Number, Support Email etc :
Go to Admin panel > Setting > Other Settings
You can change your
-> Currency
-> Maximum Quantity Of Product Unit / Order
-> Support Number
-> Support Email
-> Terms Of Use URL
-> Privacy Policy URL
-> About Us URL
Now you can run your project in the simulator and all of the functions should work fine.
For support & Other Questions: