@tuya/rn-robot-map

Panel mini-program development related product technical discussions, including panel mini-programs, intelligent mini-programs, React Native, Ray cross-platform framework, Panel SDK, WeChat mini-programs, mini-program development tools (IDE), and other related development technologies.


Post Reply
maksim.tereshko.mte
Posts: 3

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?

Last edited by maksim.tereshko.mte on 2023年 Sep 27日 22:00, edited 1 time in total.
zackzz
Posts: 2

Re: @tuya/rn-robot-map

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.

maksim.tereshko.mte
Posts: 3

Re: @tuya/rn-robot-map

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"

maksim.tereshko.mte
Posts: 3

Re: @tuya/rn-robot-map

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

Post Reply