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() {
|
async componentDidMount() {
|
||||||
try {
|
try {
|
||||||
await RNIap.initConnection();
|
await RNIap.initConnection();
|
||||||
|
if (Platform.OS === 'android') {
|
||||||
await RNIap.flushFailedPurchasesCachedAsPendingAndroid();
|
await RNIap.flushFailedPurchasesCachedAsPendingAndroid();
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
bugsnagInstance.notify(err);
|
bugsnagInstance.notify(err);
|
||||||
console.warn(err.code, err.message);
|
console.warn(err.code, err.message);
|
||||||
|
Loading…
Reference in New Issue
Block a user