mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 11:21:41 +03:00
android separated
This commit is contained in:
parent
acac37d02e
commit
d115a1dab9
@ -28,7 +28,9 @@ class InAppPurchaseContainer extends Component {
|
||||
async componentDidMount() {
|
||||
try {
|
||||
await RNIap.initConnection();
|
||||
await RNIap.flushFailedPurchasesCachedAsPendingAndroid();
|
||||
if (Platform.OS === 'android') {
|
||||
await RNIap.flushFailedPurchasesCachedAsPendingAndroid();
|
||||
}
|
||||
} catch (err) {
|
||||
bugsnagInstance.notify(err);
|
||||
console.warn(err.code, err.message);
|
||||
|
Loading…
Reference in New Issue
Block a user