apps-sdk 1.0.94 → 1.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -72,6 +72,8 @@ class PayWall extends React.Component {
|
|
|
72
72
|
console.log('subscription result: ',subscribed);
|
|
73
73
|
if (subscribed) {
|
|
74
74
|
this.props.onSubscribe(false);
|
|
75
|
+
} else {
|
|
76
|
+
this.props.onPaymentError();
|
|
75
77
|
}
|
|
76
78
|
});
|
|
77
79
|
}
|
|
@@ -140,7 +142,7 @@ class PayWall extends React.Component {
|
|
|
140
142
|
}
|
|
141
143
|
|
|
142
144
|
return (
|
|
143
|
-
<BottomSheet visible={visible}
|
|
145
|
+
<BottomSheet visible={visible}>
|
|
144
146
|
<View style={styles.bottomNavigationView}>
|
|
145
147
|
<WebView style={{flex:1}} source={{ uri: this.paywallData.url }} javaScriptEnabled ref={this.webviewRef} onMessage={this.handleMessage} onError={(err) => {console.log('Error al cargar webview:',err)}} injectedJavaScript={PayWallLogic.paywallJS}
|
|
146
148
|
onShouldStartLoadWithRequest={request => {
|