Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

A reference for creating PhoneGap apps that integrate the Creative SDK Image Editor.

License

Notifications You must be signed in to change notification settings

CreativeSDK/phonegap-template-csdk-image-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phonegap-template-csdk-image-editor

Stories in Ready

This is a PhoneGap template to help you quickly get started with the Creative SDK Image Editor plugin.

Contents

Prerequisites

Required: This guide will assume that you have followed the "Prerequisites" section of the Creative SDK Client Auth plugin guide, particularly:

  • install all software noted in that section
  • receive a Creative SDK Client ID and Secret for each platform you plan to build for

Setup guide

  1. Create your app

    phonegap create tempcsdk --template phonegap-template-csdk-image-editor
    
  2. Add your Creative SDK Client ID and Secret values

    Open config.xml and find the <plugin name="phonegap-plugin-csdk-client-auth" ... > element.

    You can add your Client ID and Secret values to the appropriate variable's here.

  3. Run phonegap prepare to fetch the plugins

  4. iOS only: download and add the Creative SDK

    (Android developers: this step is handled for you automatically by the plugin.)

    To get the iOS SDK, go to the Downloads page, click the download link for STATIC FRAMEWORKS (DEPRECATED).

    Add the extracted AdobeCreativeSDKFrameworks folder to these directories:

     - `plugins/phonegap-plugin-csdk-client-auth/src/ios`
     - `plugins/phonegap-plugin-csdk-image-editor/src/ios`
    
  5. Add the platforms you intend to build for:

    phonegap platform rm ios
    phonegap platform rm android
    phonegap platform add ios
    phonegap platform add android
    

    The remove is a precautionary step.

  6. Run for your platform(s)

    phonegap run ios
    phonegap run android
    

Sample code

You can find the relevant sample code in these files:

  • www/index.html
  • www/js/index.js

Learn more

Want to learn more about the Creative SDK PhoneGap plugins used in this template?

The READMEs for the plugin repos contain Setup and API guides, as well as sample code, to help you learn quickly:

About

A reference for creating PhoneGap apps that integrate the Creative SDK Image Editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published