Sample iOS Application for customers| Zoho Creator Help

Sample iOS Application for customers

Customers refer to people or entities who are external to your organization. For example, the vendors, retailers, logistics partners and customers that your organization does business with. By design, you'll have to create a customer portal to allow your customers to access your Creator application.

We have created an application for customers using our Mobile SDK for your better understanding of the different methods and their usage. To install the app, you need to ensure the following:

SDK Prerequisites

  • A Zoho account. If you do not have an account, sign up for one here.
  • Creating a Zoho Creator app
  • Registering your iOS app with Zoho
  • Xcode IDE 15
  • iOS 13 and above
  • CocoaPods
  • Simulator or physical iOS device (using iOS 9 or later) for running the app

Creating the Zoho Creator application

  1. Download the sample application from this link. The ZylkerCarCare.zip file will be downloaded.
  2. Extract it and locate the Zylker_Auto_Care_Chain.ds" file inside it.
  3. Create a Zoho Creator Application by importing the Zylker_Auto_Care_Chain.ds file into Creator. Learn how  
  4. Set up a customer portal for the app with a default domain. Learn how
  5. Add customers to the portal. Learn how

3. Register your app with Zoho

3.1 Users in Creator 5, follow the below steps:

  1. Navigate to your app's Settings page, then to the Mobile SDK page.
  2. Under the For Customers section, click For iOS. A pane will slide in from the right.
  3. Select the UI & Core framework.
  4. Click the Generate Client Credentials. This will generate the client ID,  client secret, Portal ID and redirectURI for the iOS app that you want to integrate with your Creator application.

3.2 Users in Creator 6, follow the below steps:

  1. Navigate to your admin dashboard.
  2. From the left pane, select Mobile.
  3. Click Create New Mobile App at the top-right corner.

  4. From the list of applications, select the required app. Select the For Users - SDK under the Apple icon section.

  5. Click Generate Client. This will generate the client IDclient secretPortal ID, and redirectURI for the iOS app that you want to integrate with your Creator application.

Installing CocoaPod

CocoaPods is a third-party dependency manager for Swift and Objective-C projects.

Note: All the commands should be entered in the Terminal.

To install CocoaPods,

  1. Open Terminal in your Mac
  2. Use the below command:
    sudo gem install cocoapods

Adding dependency

  1.  You can find the podfile file in the ZylkerCarCare > native folder (Xcode project directory). 
  2. Ensure that the podfile contains the following:
    target 'Zylker Service' do
    use_frameworks!
    pod 'ZohoPortalAuth'
    pod 'ZCUIFramework'
    end

    post_install do |installer|
    installer.generated_projects.each do |project|
    project.targets.each do |target|
    target.build_configurations.each do |config|
    config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
    end
    end

    end
  3. Open the Terminal, navigate to the ZylkerCarCare > native folder (Xcode project directory), then execute the following command:
    pod install
  4.  Open ZylkerCarService.xcworkspace in the XCode project.

Adding the Zoho Creator app to your sample Xcode project

  1. In the downloaded zip file, open ZylkerCarCare > native >  ZylkerCarService.xcworkspace in XCode and navigate to AppHandler.swift.
  2. Fill in all parameters mentioned below:
    let clientId = <#String!#>
    let clientSecret = <#String!#>
    let urlScheme = <#String!#>
    let portalID = <#String!#> //The portal ID to access the customer portal of the application.
    let accountsUrl = <#String!#> //This should be your portal URL. For eg: 'https://demoapp.zohocreatorportal.com'
  3. URL scheme (Redirect URI) entered should be configured in  ZylkerCarCare -> Info -> URL Types.

  4. Download the ZCAppInfo.plist file from the Configure Core Framework tab (refer to steps 1-3 in the above section).

    • For C6, refer to the below image.

  5. Move the ZCAppInfo.plist file to the ZylkerCarCare > native > ZylkerCarService folder.

  6. Add the ZCAppInfo.plist file to the project and attach it to all targets.

Objective-C Bridging Header

Ensure to check whether the ZylkerCarService-Bridging_header.h file exists in the project. Below image shows where the file is loacted.


If the file is not found, you can create one by following the steps below.

  1. Select Header File:
  2. Enter the name of the Header File.
  3. Configure the Header File in Project -> Build options.
  4. Add the following to your Objective-C bridging header:
        #import <ZohoPortalAuthKit/ZohoPortalAuth.h> 

  5. Compile the project. In case you face any errors while doing these, please refer to this page.

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Sample iOS Application for users

                                                                                                                We have created an application using our Mobile SDK for your better understanding of the different methods and their usage. To install the app, you need to do the following: Prerequisites Creating the Zoho Creator application Registering your app ...
                                                                                                              • Sample Android Application for Users

                                                                                                                Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage We have created an application using our SDK for your better understanding of the different methods and their usage. 1. ...
                                                                                                              • Sample code snippets

                                                                                                                Below are code snippets that demonstrate how to use the different methods of Zoho Creator's SDK for iOS: To construct the FieldAccessPath To fetch a form object To fetch the choices from a field To submit a form To set a field's value To upload a ...
                                                                                                              • Code sign iOS app for customers

                                                                                                                This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. Refer to this page for the iOS code sign prerequisites To code sign your iOS application and enable push notification for ...
                                                                                                              • Prerequisites for iOS app for customers

                                                                                                                This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. To enable your customers to install your Zoho Creator application as a native app on their iOS device, Apple mandates that ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources