register function
appId
is not necessary.
if doOnIOS
is true ,fluwx will register WXApi on iOS.
if doOnAndroid
is true, fluwx will register WXApi on Android.
Implementation
Future register({required String appId, bool doOnIOS: true, doOnAndroid: true, enableMTA: false}) async {
return await _channel
.invokeMethod("registerApp", {"appId": appId, "iOS": doOnIOS, "android": doOnAndroid, "enableMTA": enableMTA});
}