Closed truongcoino1 closed 4 years ago
Have you solved this problem?
issue of me: i built release for android library did not login?
Vào Th 2, 4 thg 11, 2019 vào lúc 21:01 Guson notifications@github.com đã viết:
Have you solved this problem?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phithu/rn-zalo/issues/1?email_source=notifications&email_token=AFQIXKAMMF6ZOQOE3PR2H43QSATLJA5CNFSM4IIT4LYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC7KWNA#issuecomment-549366580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQIXKAOQ3JDI5IV4JLW3R3QSATLJANCNFSM4IIT4LYA .
trên oa có cần config: Callback Url gì không, clone và chạy android real device vẫn không login, thay appId tạo trong OA cũng không login, toàn redirect ngược
failed dòng này chăng? @ReactMethod public void login(final Promise promise) { ZaloSDK.Instance.unauthenticate(); final ReactApplicationContext activity = this.mReactContext; final String[] Fields = {"id", "birthday", "gender", "picture", "name"}; ZaloSDK.Instance.authenticate(this.mReactContext.getCurrentActivity(), LoginVia.APP_OR_WEB , new OAuthCompleteListener() {
Instance thành công nhưng khi get profile lại fail ZaloSDK.Instance.getProfile(activity, new ZaloOpenAPICallback() { không vào trong khi chạy debug android }
@truongcoino1 Please check 2.1.0
I didn't get OAuth code on android, ios ok. :(
@chellongCoder I fixed with this PR https://github.com/phithu/rn-zalo/pull/11. Check it out.
Error of me: Error: Không thể đăng nhập Zalo and when i click login button Zalo app show but screen show grant access and don't login zalo?. Pls fix for me or give me suggestions to fix this