flyskywhy / react-native-gcanvas

react native canvas based on gpu opengl glsl GCanvas -- A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎)
Apache License 2.0
210 stars 21 forks source link

Sending GCanvasReady with no listeners registered warning #67

Closed mikepro4 closed 11 months ago

mikepro4 commented 11 months ago

Hey I'm adding this to bare expo react-native app on iOS.

"react-native": "0.72.6"

Getting a warning when adding to the project (empty expo app).

is there a way to surpress warnings?

UPD: your fix worked:

  require('react-native').LogBox.ignoreLogs([
    '`GCanvasReady` with no listeners',
  ]);