See Guide to third party authentication and re-skin for iOS
See Set up third-party authentication with the provider of choice
This document mainly describes how to quickly implement QQ and WeChat authentication through Gizwits App Framework as well as re-skin for the App.
To support QQ authentication, you should first create an application on the Tencent open platform, and obtain the APPID for the App, which will be used in Gizwits App Framework.
For obtaining APP ID and binding Gizwits application, see Guide to Application for QQ Open Platform.
Type the APPID obtained from Tencent development platform into the configuration file UIConfig.json of Gizwits App Framework.
After filling in the “tencent_app_id” and deploying it, you can log in using QQ authentication.
To implement WeChat authentication, you need to go to the WeChat open platform to register for an application, then obtain the APPID and APPSecret of the application which will be applied to Gizwits App Framework.
To get APPID and APPSecret, see Guide to Application for WeChat Authentication.
Type the APPID and APPSecret obtained from WeChat development platform into the configuration file UIConfig.json of Gizwits App Framework, as shown below.
After filling in the “wechat_app_id” and “wechat_app_secret” and deploying it, you can log in using WeChat authentication.
The Gizwits App Framework has the re-skin feature. Quick re-skin can be achieved by modifying the UIConfig.json file.
As shown in the red box, the code snippet for your custom skin has the following parameters:
buttonColor: button color
Quick res-skin can be achieved by modifying the corresponding color values. Refer to the following example:
See Gizwits App Code Auto-Generator to learn about the functionality of the automatically generated App code.
See “Gizwits App Framework” to grasp
See “App Development SDK” to develop your IoT App
More application development guides