openimsdk / open-im-flutter-demo

Demo developed based on flutter open IM SDK.
https://openim.io
Apache License 2.0
310 stars 208 forks source link

Bug: No known class method for selector 'registerActivityToken:' #106

Closed zoujiaqing closed 3 months ago

zoujiaqing commented 7 months ago

What happened?

- (void)registerActivityToken:(FlutterMethodCall*)call result:(FlutterResult)result {
    NSDictionary *ConfigurationInfo = call.arguments;
    [GeTuiSdk registerActivityToken:ConfigurationInfo[@"token"]];
}

What did you expect to happen?

flutter run fro iOS

How can we reproduce it (as minimally and precisely as possible)?

non

Anything else we need to know?

No response

version

master

Cloud provider

non

OS version

macOS 14.x

Install tools

std-s commented 7 months ago

@zoujiaqing If there is a problem with the plug-in that I push, you can check their issue. You can also remove this plug-in.

wozaihu commented 5 months ago

确实是个坑,项目中默认的GTSDK (3.0.5.0)没有registerActivityToken,需要手动改为GTSDK (3.0.2.0),重新pod install