requestPermission() shows no permissions when no network

Hello.

Using simple health demo.

While there is no network, and call
requestPermission()

the pop-up window is as following picture.
It does not contain any permission.
Is it a bug of this SDK?
How can I detect this error in the source code?

Thank you.

Hi,

I don’t know much but I do know you need to use the access code for permission to run the Code examples on your device. Are you doing that?

Ron
Samsung Developer Relations

Hello, Ron,
Yes, I did input access code and Client ID, this issue occur always.
And I can reproduce in my published partner app too.
The only reason is network.
You can reproduce this issue always in the following path:
Install partner app (if it’s demo, input client ID and Access code)
→ disconnect network
→ run partner app and request permission of Samsung Health
→ verify the issue.

It seems the Local S Health does not have info about this partner app at the first time if it cannot connect the network.

Thanks

Hi,
Can you reproduce this issue?
Could you pls tell me how to detect this error in source code?

Thanks.

If you are a partner you should be able to get help that way when I connect on support it takes me to Samsung Developer Support open a request there and make sure you mention you are a partner.

Unfortunately this is not something I can help with.

Ron
Samsung Developer Relations

请问你们解决这个问题了吗?是如何解决的,我也遇到了同样的问题,但是我的问题和网络无关。

我们也遇到了类似的问题,小伙子,你找到解决方案了么?

Hi,
You can reach Developer Support for further analysis using this link. Please attach the reproduction route and dumpstate log with the problem details.

Thanks,
Shamima
Samsung Developer Program team