Skip to content

安卓编译问题 #2

Description

@strommmm

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions