-
Notifications
You must be signed in to change notification settings - Fork 27
Customization
The customized app can be built by replacing the contents of the Wind directory by customized graphic elements and xml files.
There are 2 options for the graphic customization of the app:
- the basic customization, which is detailed below
- the advanced customization, which makes it possible to give the app a really distinctive design.
The app launcher icon needs to be provided in 9 different sizes:
-
Icon.png: 57x57 px. Example. -
[email protected]: 114x114 px. Example. -
[email protected]: 120x120 px. -
Icon-72.png: 72x72 px. Example. -
[email protected]: 144x144 px. Example. -
Icon-76.png: 76x76 px. -
[email protected]: 152x152 px. -
Icon-512.png: 512x512 px. Example. -
[email protected]: 1024x1024 px.Example.
The splash screen appears briefly when the app is launched. It needs to be provided in 10 versions:
-
Default.png: splash screen on iPhone 3 - 320x480 px. Example. -
[email protected]: splash screen on iPhone 4 retina - 640x960 px. Example. -
[email protected]: splash screen on iPhone 5 - 640x1136 px. Example -
Default-Landscape.png: splash screen on iPad in landscape mode - 1024x768 px. Example. -
[email protected]: splash screen on iPad Retina in landscape mode - 2048x1536 px. Example. -
Default-Portrait.png: splash screen on iPad in portrait mode - 768x1024 px. Example. -
[email protected]: splash screen on iPad Retina in portrait mode - 1536x2048 px. Example. -
[email protected]: splash screen on iPhone with Retina HD 5.5 - 1242×2208 px -
[email protected]: splash screen on iPhone with Retina HD 5.5 2208×1242 px -
[email protected]: splash screen on iPhone with Retina HD 4.7 750×1334 px
The generic cover is used inside the Newsstand icon, and on the App Store. It needs to be provided in 2 sizes:
-
generic.png: 300 px in larger dimension. Example. -
[email protected]: 1024 px in larger dimension. Example
In the basic customization option, it is only possible to change the background of the kiosk screen. It is advised to use a dark background, otherwise the title and subtitle of the magazines (in white color) will not be visible.
The background needs to be provided in 1 size:
-
Magazines_background.png: 1024x1024 px. Example.
There are 3 important plist files:
-
Application.plistis the standard info.plist found in standard projects, as documented in the Apple Documentation. An example ofApplication.plistfile as required by the app is available in the Resources/Wind folder in this repository. You only need to change the following keys: -
CFBundleIdentifier: enter com.[client].[app] -
CFBundleDisplayNameandCFBundleName: enter the name of your app -
UINewsstandApp: enter false if you do not want to use Newsstand -
Application_.plistis a Librelio specific plist. An example ofApplication_.plistfile as required by the app is available in the Resources/Wind folder in this repository. It contains the following keys: -
AppId: the ID on the App Store. If this key is present, the "Rate This App" feature will be activated, if the key is omitted, it will not -
BarColor: colors of bar items, separated by;, for exampleBlack;LightGray;White -
CachePrices: if the value of this key is Yes (string), the app will cache app store prices -
DownloadNewstandCovers: if the value of this key is Yes (string), the app will download Newsstand covers -
CodeServiceorUserService: the code of the service used to manage subscribers. Requires Librelio's Developer or Publisher plans -
DfpPrefix: the DFP code of the publisher (or Librelio's), followed by_[client]_[app], for example/166877488/numero_numero_ -
GoogleAnalyticsCode: the Google Analytics Code used for tracking -
Languages: if the app contains several languages, list of languages separated by comma, for examplegb,fr,it,de,cn,es -
LibrelioClientIdandLibrelioAppId: when the app id is not in the standard for com.[client].[app], these keys contain the client id and app id -
SpecificAppStoreIDs: a dictionary containing properly named issues and their correspondance with legacy names -
SharedSecret: a code that can be generated on iTunes Connect, required for In App subscriptions -
Splash: Deprecated -
Tabs.plistis another Librelio specific plist, that defines the tabs displayed at the root level of the app. An example ofTabs.plistfile as required by the app is available in the Resources/Wind folder in this repository. You can add as many tabs as you want in the app, by adding items in the root array of this plist, for example: -
Magazines.plist?waupdate=30: displays the magazines grid view -
file://localhost/: displays the list of downloaded magazines -
http://www.mysite.com: displays mysite.com
It's also possible to override the default translation files by adding [languagecode].lproj/Application.strings files to the app's resources (see https://github.com/libreliodev/iOS/issues/72)
- Home
- Deployment
- Enrollment
- Customization
- Building
- Submission
- Enhancement
- Management
- Upload
- Tracking
- Development
- Xibs
- 3rd party libraries