Page 1 of 1
@tuya/rn-robot-map
Posted: 2023年 Sep 27日 00:31
by maksim.tereshko.mte
Hello,
It would be great if you could help me to answer one question. I have a Tuya vacuum cleaner, and I want to integrate a card for it into a bare react native application. (TUYA SDK is connected and P2P connection is established).
Currently, I can get the raw data from the vacuum cleaner from Tuya Sweeper P2P SDK and decode it as shown in the example: https://github.com/tuya/tuya-panel-demo.
But for some reason the map component is empty. Could it be due to the fact that I am not passing some important props?
Here are the credentials I am passing:
Here are my logs -
And is there any other method to successfully integrate maps into your react native application besides the npm package @tuya/rn-robot-map?
Re: @tuya/rn-robot-map
Posted: 2023年 Sep 27日 11:57
by zackzz
I suggest you first test your robotic vacuum by running the tuya-panel-demo
. Make sure you can precisely see your map on the tuya-panel-demo
, and then gradually migrate it to your own project.
You can compare the props of the <IndoorMap />
component in the tuya-panel-demo
with the props in your current project to find out what exactly might be missing.
Additionally, currently the robotic vacuum map can only be integrated into the Tuya App via @tuya/rn-robot-map
.
Re: @tuya/rn-robot-map
Posted: 2023年 Sep 27日 16:58
by maksim.tereshko.mte
Thank you for your reply.
When I try to download Tuya Panel - RN (app for developers) from https://smartapp.tuya.com/typaneldev, I got Access Denied message, when i tap on download button (for android)
And on iOS when i download app, i got Alert - "Unable to Install "com.ty.paneldev.Hoc", this app cannot be installed because of integrity could not be verified"
Re: @tuya/rn-robot-map
Posted: 2023年 Sep 27日 17:16
by maksim.tereshko.mte
I also tried to scaffold an app from https://github.com/tuya/tuya-panel-cli, but i have empty categories list when i execute script