mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-06-17 16:38:03 +08:00
feature 5.0.0
This commit is contained in:
@ -9,7 +9,8 @@ import 'package:tencent_kit_example/api/model/tencent_api_resp.dart';
|
||||
import 'package:tencent_kit_example/api/model/tencent_unionid_resp.dart';
|
||||
import 'package:tencent_kit_example/api/tencent_api.dart';
|
||||
|
||||
const String _TENCENT_APPID = 'your tencent appId';
|
||||
const String _TENCENT_APPID = 'your tencent app id';
|
||||
const String _UNIVERSAL_LINK = 'your tencent universal link';
|
||||
|
||||
void main() {
|
||||
runApp(MyApp());
|
||||
@ -85,7 +86,7 @@ class _HomeState extends State<Home> {
|
||||
ListTile(
|
||||
title: Text('注册APP'),
|
||||
onTap: () async {
|
||||
await TencentKitPlatform.instance.registerApp(appId: _TENCENT_APPID);
|
||||
await TencentKitPlatform.instance.registerApp(appId: _TENCENT_APPID, universalLink: _UNIVERSAL_LINK);
|
||||
_showTips('注册APP', '注册成功');
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user