ios issue: `mqttx_d11_rn_mqttconnected` is not a supported event type for MqttModule
I have integrated the library and try to follow the code from the example. But I got error: "`mqttx_d11_rn_mqttconnected` is not a supported event type for MqttModule. Supported events are: `CUSTOM_EVENT`"
<img src="https://github.com/user-attachments/assets/bef0458c-20a3-4728-958e-e89a126aaa35" width="300"/>
But looks like the mqtt connection is working, I can receive the message from the MQTT server:
<img src="https://github.com/user-attachments/assets/8469dcb9-317b-4164-803f-13e1b5b2cb2e" width="300"/>
Here is my code:

Does anyone know how to fix it? Thanks
关闭于 2024-12-24 7 条评论