Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安卓编译问题 #2

Open
strommmm opened this issue Jan 8, 2017 · 1 comment
Open

安卓编译问题 #2

strommmm opened this issue Jan 8, 2017 · 1 comment

Comments

@strommmm
Copy link

strommmm commented Jan 8, 2017

react-native-smart-alipay/android/src/main/java/com/reactnativecomponent/alipay/RCTAlipayModule.java:39: 错误: getCurrentActivity()在ReactContext中不是公共的; 无法从外部程序包中对其进行访问
Activity currentActivity = context.getCurrentActivity();

应该是rn版本问题,我用的0.26版本,如果能测试并支持下旧版本rn就太好了 ~ 😁

@cyqresig
Copy link
Contributor

cyqresig commented Jan 9, 2017

您好,由于rn的版本更新非常的快,并且经常会有重大更新并可能导致以前的代码或功能失效或不正常,故插件的维护会尽可能接近新版本,请您谅解。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants