reactnativecn / react-native-qq

308 stars 87 forks source link

0.22.2的rn 如何调用包呢 #8

Closed 52myu closed 8 years ago

52myu commented 8 years ago

@Override public void onActivityResult(int requestCode, int resultCode, Intent data){ super.onActivityResult(requestCode, resultCode, data); mReactInstanceManager.onActivityResult(requestCode, resultCode, data); } 在0.22.2中 这个方法 如何用呢

tdzl2003 commented 8 years ago

0.19以上版本不需要些这几句了。

litingjun2015 commented 7 years ago

您好:

我能够成功激活QQ登录(安卓),但resolve没输出,请问是什么原因?

QQAPI.login()
      .then((result)=>{
        console.log('QQAPI("get_simple_userinfo") result', result)
      })
      .catch((e)=>{
        console.error(e);
      })

我是 react-native: 0.34.1,是不是也不用加这几句? can not resolve symbol mReactInstanceManager.

yabinliu commented 7 years ago

@litingjun2015 are you ok ?

litingjun2015 commented 7 years ago

@yabinliu not ok...

litingjun2015 commented 7 years ago

@yabinliu ok now. I guess app should be approved at http://open.qq.com/ firstly.