1 min read
Publish your app's new theme
When you have finished editing your app's foundation elements or components, it's time to publish the theme. This marks it as available to engineers who will use it to rebuilt your app.
To publish changes in your app:
- From the Poq App Manager home page, select App Styler. The right column shows you the published status of your app theme.
- In the right hand menu, click Publish. The Review and publish confirmation box is displayed.
- Click Download JSON.
- Follow the steps to implement the new theme in your app. For iOS apps, this step requires some developer experience.
You have published your app's new theme.
iOS developers guide to implement your theme
Once you have created, published and downloaded the theme for your app, you should have a JSON file which can now be added to your app project.
When downloaded, the JSON file has a name like Your-company-00-1-22
To add your theme JSON document to your app:
- Rename the theme file to
Theme.json
. - Add the theme file to your project and app target(s).
- Launch the app to validate that the theme is applied.
Make sure there is only one Theme.json
present in your project.
You have added your styled theme to your app.
Android developers guide to implement your theme
In order to apply an app styling theme to your Android app, you first need to install the App Styling Android Studio plugin:
- Download
AndroidAppStyling.zip
fromPoq.Android.Platform
Github repository. - In Android Studio navigate to:
Preferences > Plugins > Settings > Install Plugin from Disk
- Select the zip file
Restart Android Studio
.
Android Studio shows a new option called AppStyling. You have installed the plugin.
To apply a new app styling theme:
- Obtain the JSON theme file from the web tool.
- In navigate to
AppStyling > Generate App Styles
. - Copy and paste the content of the JSON file in the dialogue.
The App Styling plugin generates all the necessary files and saves them in the required folder to style your app.
You have applied an app styling theme to your app.