Click to search on your search term.
Subscribe to Fig Leaf Tutorials


Need help with a project? Contact us at sales@figleaf.com.
From code reviews to project "jumpstarts" and full life-cycle development, we've got you covered!
Check out our case studies!
Follow us on Twitter!
Click here to join our Facebook group!

Ready to upgrade your skills? Try these instructor-led classes in Washington, DC:
Ext JS 6 Bootcamp
12/04/2017

Configuring Native Packager Settings

Page of 168

After configuring the Package Setup options, Sencha Architect inserts a JSON file into your project containing native build settings used by Sencha Cmd to package your application.

Some of these configuration options are iOS specific while others relate only to Android.

The packager.json file is illustrated below:

{
 "applicationName": "FriendsWithBeer",
 "applicationId": "com.figleaf.FriendsWithBeer",
 "versionString": "1.0",
 "versionCode": "1",
 "icon": {
   "57": "resources/icons/Icon.png",
   "72": "resources/icons/Icon~ipad.png",
   "114": "resources/icons/Icon@2x.png",
   "144": "resources/icons/Icon~ipad@2x.png"
 },

 "inputPath": "./",
 "outputPath": "../build/",
 "configuration": "Debug",
 "platform": "iOSSimulator",

 "deviceType": "Universal",
 "androidAPILevel": "8",
 "permissions": [
        "INTERNET",
        "ACCESS_NETWORK_STATE",
        "CAMERA",
        "VIBRATE",
        "ACCESS_FINE_LOCATION",
        "ACCESS_COARSE_LOCATION",
        "CALL_PHONE"
  ],

  "orientations": [
        "portrait",
        "landscapeLeft",
        "landscapeRight",
        "portraitUpsideDown"
  ]
}
Page of 168
comments powered by Disqus