Git Product home page Git Product logo

cordova-sticker-pack-extension's Introduction

Cordova Stickers Extension Plugin

The latest iPhone firmware iOS 10 (as of writing, still in beta) has new iMessage functions which includes Sticker Packs. See https://developer.apple.com/imessage/. Stickers come in the form of standalone Sticker Pack App, but also as an Extension to your existing app.

This plugin adds an iMessage Stickers App Extension to your existing Cordova/Cocoon.io project. XCode 8 is required (as of writing, also still in beta).

How to use

  1. First, prepare a sticker pack (see below).
  2. Install the plugin by

$ cordova plugin add https://github.com/LuckyKat/cordova-sticker-pack-extension

Or if using Cocoon.io, add the plugin by Plugins -> Custom -> Git url The Sticker Pack will be copied from the www folder during the plugin install.

Note: please install the plugin via git and not npm package, until I figure out how to perform npm install during a cordova install.

  1. Compile the project with XCode 8.

Preparing a sticker pack

The easiest way to do this is by installing XCode 8 and creating a Sticker App Extension. The resulting .xcassets and Info.plist can then be used as Sticker Pack for the Cordova project. You could also do this by hand if you know which json files to create.

Place the .xcasset and Info.plist in a folder named YOUR_PROJECT_NAME Stickers and place this in the www folder.

The bundle id of the sticker pack will be YOUR.BUNDLE.ID.YOUR_PROJECT_NAME-Stickers. For example a project named My App with the bundle id com.mycompany.myapp should have a sticker pack folder My App Stickers and will receive the bundle id com.mycompany.myapp.My-App-Stickers.

cordova-sticker-pack-extension's People

Contributors

hernanzh avatar gattex avatar nikoladev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.