Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 编译成功 运行失败 #43

Closed
Muriel0603 opened this issue Jan 6, 2017 · 1 comment
Closed

iOS 编译成功 运行失败 #43

Muriel0603 opened this issue Jan 6, 2017 · 1 comment

Comments

@Muriel0603
Copy link

‘null’ is not a supported event type for blemodule. supported events are 'null'

@Muriel0603
Copy link
Author

  • (void)initialize
    {
    if (self != [RCTEventEmitter class]) {
    RCTAssert(RCTClassOverridesInstanceMethod(self, @selector(supportedEvents)),
    @"You must override the supportedEvents method of %@", self);
    }
    }
  • (NSArray<NSString *> *)supportedEvents
    {
    return nil;
    }

RCTEventEmitter.m 貌似这里返回了nil 的缘故 ???????

jimboboliver pushed a commit to V-DAQ/react-native-ble-plx that referenced this issue Nov 15, 2021
* Commit use lower version of Swift

* no message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant