Get Started

Thanks for purchasing PetStand App

Please read the documentation carefully, and if you have any questions, please feel free to contact us. Most pages are accompanied by a video tutorial, it's recommended to check both, the video and the written Documentation.

Must Read this:

After purchase, it is suggested to setup the Web APIfirst for smooth functioning of the application.

Web API is in PHP 7.4.1 and it will work on all hosting packages

iOS Configuration

In order to start configuration, you need to install Android studio and the 'Java SE Development Kit'. First download the android studio from here xcode

Open the project in xcode

Change App Name & Bundle ID

Developer Team: Need Paid developer iTunes account :

Reference link:

Above illustration demonstrates the process to change the name of application.

Change App icon

this URL will help you resize your images or event create new icon to your app Launcher Icon Generator

Bridging Header

Above illustration demonstrates the process to change the bridging header file of your project.

Firebase Configuring

Prerequisites

Before you begin, you need a few things set up in your environment:

  • Xcode 9.2 or later
  • An Xcode project targeting IOS 10 or above
  • Swift projects must use Swift 4.0 or later
  • The bundle identifier of your app
  • CocoaPods 1.5.0 or later
  • For Cloud Messaging:

If you don't have an Xcode project already, you can download one of our quickstart samples if you just want to try a Firebase feature. If you're using a quickstart, remember to get the bundle identifier from the project settings, you'll need it for the next step.

Add Firebase to your app


It's time to add Firebase to your app. To do this you'll need a Firebase project and a Firebase configuration file for your app

  1. Create a Firebase project in the Firebase console, if you don't already have one. Click Add project. If you already have an existing Google project associated with your mobile app, select it from the Project name drop down menu. Otherwise, enter a project name to create a new project.
  2. Optional: Edit your Project ID. Your project is given a unique ID automatically, and it's used in publicly visible Firebase features such as database URLs and your Firebase Hosting subdomain. You can change it now if you want to use a specific subdomain.
  3. Follow the remaining setup steps and click Create project (or Add Firebase if you're using an existing project) to begin provisioning resources for your project. This typically takes a few minutes. When the process completes, you'll be taken to the project overview

Now that you have a project, you can add your iOS app to it:

  1. Click Add Firebase to your iOS app and follow the setup steps. If you're importing an existing Google project, this may happen automatically and you can just download the config file.
  2. When prompted, enter your app's bundle ID. It's important to enter the bundle ID your app is using; this can only be set when you add an app to your Firebase project.
  3. During the process, you'll download a GoogleService-Info.plist file. You can download this file again at any time.
  4. After you add the initialization code, run your app to send verification to the Firebase console that you've successfully installed Firebase.

NOTE: If you have multiple build variants with different bundle IDs defined, each app must be added to your project in Firebase console.

Add the SDK


If you are setting up a new project, you need to install the SDK. You may have already completed this as part of creating a Firebase project.

We recommend using CocoaPods to install the libraries. You can install Cocoapods by following the installation instructions. If you'd rather not use CocoaPods, you can integrate the SDK frameworks directly without using CocoaPods.

If you are planning to download and run one of the quickstart samples, the Xcode project and Podfile are already present, but you'll still need to install the pods and download the GoogleService-Info.plist file. If you would like to integrate the Firebase libraries into one of your own projects, you will need to add the pods for the libraries that you want to use.

  1. If you don't have an Xcode project yet, create one now.
  2. Create a Podfile if you don't have one:
    • $ cd your-project directory
    • $ pod init
  3. Add the pods that you want to install. You can include a Pod in your Podfile like this:
    pod 'Firebase/Core'
    This will add the prerequisite libraries needed to get Firebase up and running in your iOS app, along with Google Analytics for Firebase. A list of currently available pods and subspecs is provided below. These are linked in feature specific setup guides as well.
  4. Install the pods and open the .xcworkspace file to see the project in Xcode
    • $ pod install
    • $ open your-project.xcworkspace
  5. Download a GoogleService-Info.plist file from Firebase console and include it in your app.

Initialize Firebase in your app


The final step is to add initialization code to your application. You may have already done this as part of adding Firebase to your app. If you are using a quickstart this has been done for you.

  1. Import the Firebase module in your UIApplicationDelegate:
  2. Configure a FirebaseApp shared instance, typically in your application's
    application:didFinishLaunchingWithOptions: method:

In this App firebase is already integrated you can generate googleservice-info.plist on firebase consolehttps://firebase.google.com/

After going to this given website follow these steps :

  • generate googleservice-info.plist
  • Replace with given file in screeshot

Google Map Configration

First you have to add Firebase account in your application/project and then only you will be able to see your project on Google API Console.

Payment Gateway Configuration

Just follow the steps.

  • Install the SDK Flutterwave into your project.
  • Run this command in terminal.
  • Install all the necessary pods into your project.
  • Click and drag the RaveSDK.xcodeproj into your project.
  • Add public & secret key your Flutterwave account into App delegate of xcode project.
  • Apply all delegate method of Flutterwave payment.

Postman API

Web Configuration

How to set up Admin Panel on localhost
Dependencies

    PHP Version information : 7.1.33

    phpmyadmin Version information: 4.8.0, latest stable version: 4.9.5

    MySql Version information : mysql Ver 14.14 Distrib 5.6.47-87.0, for debian-linux-gnu (x86_64) using 6.3

    server information : Ubuntu 18.04.4

  1. Extract the project_name.zip file on your local apache server.
  2. Create a new database on the phpmyadmin.
    • a) Open the browser & type this url http://localhost/phpmyadmin/
    • b) Click on New option to create new database.
    • c) Enter your database name as below & click on create button.
    • d) Now click on import tab.
    • e) Select your project .sql file from browse button, remove the check of “Enable foreign key checks” & then click on Go.
    • f) Then the below screen will come.
    • Admin Panel Setup

      Final configuration

      • 'hostname' => 'localhost',
        'username' => 'root',
        'password' => '',
        'database' => 'PetStand ',
      • Setup your database settings:- PetStand /config/database.js
      • Setup is complete now you can check your project by http://localhost/PetStand/

Firebase configuration

This option for Firebase key setup (for Push Notification).

We are using here Firebase Cloud Messaging (FCM) for sending notification and provides a cross-platform messaging solution that allows reliable delivery of messages. You can change your firbase key from here.

Email/OTP configuration

This option for Authentication Key change (for Email).

We are using here MSG91,That is an enterprise SMS Solution providing Bulk SMS and sending emails.you can change MSG91 key from here, then all mails and sms services will do activate.

If You wants to change the Email/OTP services like(using SMTP and Mailgun etc) you can change from this file

Admin->application->controllers->WebService.php

Write Your code here

If you faces this problem:-

SELECT list is not in GROUP BY clause and contains nonaggregated column … incompatible with sql_mode=only_full_group_by
Run this command in mysql
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

Outro

Once again, thank you so much for purchasing this Application. As I said at the beginning, I will be glad to help you if you have any questions related to this application. No guarantees, but I'll do my best to assist you.If you have a more general question relating to the PetStand App.


Samyotech

Support Email: samyotech@gmail.com