Skip to content

ios使用支付宝客户端支付成功后无法调用rn里的callback函数 #5

@jjkke88

Description

@jjkke88

Alipay.pay(data).then((msg) => { ``Alert.alert("购买成功");
console.log(msg);
this.props.callback(msg);
this.props.navigator.pop();
}, (e) => {
Alert.alert("购买失败");
console.log(e);
}).catch((e)=>{
console.log(e);
});
我的调用结构是这样的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions