Android Taiwan Ionic2 Weibo and QQ login

Source: Internet
Author: User

1: <widget id= "app package name" in config. version= "0.0.1" xmlns= "http://www.w3.org/ns/widgets" xmlns:cdv= "/http cordova.apache.org/ns/1.0 "> ID changed to the name of your app package (e.g., Org.cadm.app)

2: Change the name of Ionic.config.json to your app (for example: Cadm), app_id to the name of the app package (for example: Org.cadm.app)

3, modify package_name**
* A, modify Ionic.config.json in app_id (package_name): The name of your app package (Com.dengdd.sdkdemo)
* B, modify all package_neme in/plugins/android.json to this value: the name of your app package (Com.dengdd.sdkdemo)

4, install the plugin
```
Cordova Plugin Add cordova-plugin-wechat--variable wechatappid= you apply AppID
Cordova Plugin Add cordova-plugin-qqsdk--variable qq_app_id= you apply for QQ AppID
Cordova Plugin Add cordova-plugin-weibosdk--variable weibo_app_id= you apply for Weibo AppID

Note: The Web page above cannot see the effect requires ionic build Android after packaging on the mobile device to see the effect

Android Taiwan Ionic2 Weibo and QQ login

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.