Alexander Ferreras

Results 5 comments of Alexander Ferreras

Same Error Error: Something went wrong at Object.fromNative (capacitor-runtime.js:229:14) at :1:18 {message: 'Something went wrong', stack: 'Error: Something went wrong at Object.fro…or-runtime.js:229:14) at :1:18'} message: 'Something went wrong' stack: 'Error:...

@RAPHAELSTZ I found the error, Was about the credentials with google service for auth

> can you provide a full stacktrace please? 🙏 Yes: ``` FATAL EXCEPTION: mqt_native_modules Process: com.dixtra.app, PID: 27571 java.lang.RuntimeException: Could not invoke SpInAppUpdates.checkNeedsUpdate at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:383) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188) at com.facebook.jni.NativeRunnable.run(Native Method)...

**This work for me using promise.** ``` const PromiseValue = new Promise((resolve, reject) => { BackgroundTimer.runBackgroundTimer(() => { resolve(); reject() }, 3000); }); PromiseValue.finally(() => BackgroundTimer.stopBackgroundTimer(), ); ```