mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 23:49:33 +01:00
send user id to server on requesting purchase
This commit is contained in:
@@ -254,7 +254,14 @@ class PremiumDialog extends React.Component {
|
||||
eSendEvent(eOpenLoginDialog);
|
||||
}, 400);
|
||||
} else {
|
||||
RNIap.requestSubscription(this.state.product?.productId)
|
||||
RNIap.requestSubscription(
|
||||
this.state.product?.productId,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
this.state.user.id,
|
||||
)
|
||||
.then((r) => {})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
|
||||
Reference in New Issue
Block a user