We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got the following error on iOS simulator:
CapacitorBackgroundRunner/BackgroundRunner.swift:160: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
The problematic code is this:
returnObj.toDictionary().forEach { key, value in. // Line 160 dict[String(describing: key)] = value }
My code in the runner.js file:
addEventListener("fetchTest", async (resolve, reject, args) => { try { const res = await fetch("https://randomuser.me/api/"); console.log("res???", res); resolve('plain text'); } catch (err) { console.error(err); reject(err); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got the following error on iOS simulator:
The problematic code is this:
My code in the runner.js file:
The text was updated successfully, but these errors were encountered: