A Flutter plugin for social.
支持群:428741525
该插件支持iOS和Android
该项目基于Flutter, 是一个特定功能的Flutter插件,包含Android和IOS平台实现。
为了帮助你开始使用Flutter, 请参阅 在线文档,该文档提供关于移动开发的教程、示例、指导并且包含全部的API参考。
try {
isSuccess = await FlutterNespSocial.joinQQFriend(
qqFriendNumber: "input your qq friend number",
);
} on PlatformException catch (e) {
//do something
}
try {
isSuccess = await FlutterNespSocial.joinQQGroup(
androidKey: "input your android key",
groupUin: "input your group uin",
iosKey: "input your ios key",
);
} on PlatformException catch (e) {
//do something
}
try {
isSuccess = await FlutterNespSocial.openWeiboUser(
uid: “输入你要打开的用户ID”,//打开网页微博,鼠标放在头像下面的关注或粉丝时就能在右下方看见UID
);
} on PlatformException catch (e) {
// do something
}
try {
isCalledOtherApp = await FlutterNespSocial.openOtherApp(
androidPackageName: "你要打开的应用包名",
androidClassName: "你要打开的应用Activity的类名",
iosAppUrl: "你要打开的IOS应用URL",
);
} on PlatformException catch (e) {
//do something
}