Skip to content

React Native, iOS: "Can't find variable: Image" #1279

Closed
@ghost

Description

Unhandled JS Exception: Can't find variable: Image

I get this message when I run a transaction on the iOS Simulator offline:

const ok = await db.runTransaction(async (t) => {
    t.set(docRef, data);
    return true;
});

It retries the transaction around 3-5 times over around 2 minutes, then throws the Exception.

I am using the Xcode "Network Link Conditioner" to disable the network.

Related
#183

Environment

  • iOS Simulator
  • MacOS,
  • RN: 0.55.3
  • Firebase (from yarn.lock):
firebase@^5.5.2:
  resolved "https://registry.yarnpkg.com/firebase/-/firebase-5.5.2.tgz#05fa180c058941dcbfc248882e829f2945aa0568"
    "@firebase/app" "0.3.4"
    "@firebase/auth" "0.7.7"
    "@firebase/database" "0.3.6"
    "@firebase/firestore" "0.8.2"
    "@firebase/functions" "0.3.1"
    "@firebase/messaging" "0.3.6"
    "@firebase/polyfill" "0.3.3"
    "@firebase/storage" "0.2.3"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions