maitrungduc1410 / react-native-zalo-kit

Zalo SDK implementation for React Native
MIT License
46 stars 12 forks source link

Android login via zalo on production mode not working #84

Open NgocLe1001 opened 7 months ago

NgocLe1001 commented 7 months ago

When development mode, I login successfully, while on production, It shows error Error:

image

I've already checked and ensure the keys are matched The key get from function getApplicationHashKey

image

The key import to zalo developer app (the first is development mode, the second is production):

image

Thanks for you supporting

maitrungduc1410 commented 7 months ago

hmm, weird, maybe you should try use only 1 key, and make sure to turn on your app to Live Mode in Zalo dev portal

NgocLe1001 commented 7 months ago

Sorry, how can I try to use only 1 key? I just log and I see on 2 modes ( develop & product), the two keys are different.

NgocLe1001 commented 7 months ago

Also, I catched the error when building ( about lStar not found) and I had to go to the zalo kit node module/android/build.gradle to upgrade the gradle

maitrungduc1410 commented 7 months ago

Sorry, how can I try to use only 1 key? I just log and I see on 2 modes ( develop & product), the two keys are different.

What I meant is try to use 1 one key in zalo dev portal (remove the other one), just for testing if it works

maitrungduc1410 commented 7 months ago

Also, I catched the error when building ( about lStar not found) and I had to go to the zalo kit node module/android/build.gradle to upgrade the gradle

What did you upgrade?

NgocLe1001 commented 7 months ago

Also, I catched the error when building ( about lStar not found) and I had to go to the zalo kit node module/android/build.gradle to upgrade the gradle

What did you upgrade?

image

line 22, 24, 25

compile sdk ver and target sdk ver from 30 to 33.

min sdk ver from 16 to 21

NgocLe1001 commented 7 months ago

What I meant is try to use 1 one key in zalo dev portal (remove the other one), just for testing if it works

Didn't work :( I try for each key

chenxueyi123 commented 6 months ago

我的意思是尝试在 zalo dev 门户中使用 1 个一键(删除另一个),只是为了测试它是否有效

没用:(我尝试了每个键

Vấn đề của anh đã được giải quyết chưa?Tôi cũng gặp vấn đề tương tự

NgocLe1001 commented 6 months ago

我的意思是尝试在 zalo dev 门户中使用 1 个一键(删除另一个),只是为了测试它是否有效

没用:(我尝试了每个键

Vấn đề của anh đã được giải quyết chưa?Tôi cũng gặp vấn đề tương tự

not yet Vẫn chưa nhé

maitrungduc1410 commented 6 months ago

I'll try to find new devices and run again, because it's still working fine on my end

maitrungduc1410 commented 6 months ago

@chenxueyi123 can you check this issue if it helps?

https://github.com/maitrungduc1410/react-native-zalo-kit/issues/87