openimsdk / open-im-flutter-demo

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

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

Open zoujiaqing opened 2 months ago

zoujiaqing commented 2 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 2 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 2 weeks ago

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