Ignite: Navigation white screen problem

Created on 3 Nov 2019  路  4Comments  路  Source: infinitered/ignite

  • When create a new app and start the app. Click 'Continue' button and screen is white..
  • CMD+R screen is normal. and click the back button. screen problem again.
  • CMD+R screen is normal again.
  platform           darwin                                                       
  arch               x64                                                          
  cpu                8 cores      Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz       
  directory          PNAME    /Users/..XXX../PNAME 

JavaScript
  node               13.0.1       /usr/local/bin/node 
  npm                6.12.0       /usr/local/bin/npm  
  yarn               1.19.1       /usr/local/bin/yarn 

Ignite
  ignite-cli           3.3.1                                                                                                        /usr/local/bin/ignite                                              
  ignite src           build                                                                                                        /usr/local/share/.config/yarn/global/node_modules/ignite-cli/build 
  generators           {"component":"ignite-bowser","model":"ignite-bowser","navigator":"ignite-bowser","screen":"ignite-bowser"}                                                                      
  createdWith          3.3.1                                                                                                                                                                           
  boilerplate          ignite-bowser                                                                                                                                                                   
  boilerplateVersion   4.9.0                                                                                                                                                                           

Android
  java               1.8.0_131    /usr/bin/java 
  android home       -            undefined     

iOS
  xcode              11.2       
  cocoapods          1.8.4        /usr/local/bin/pod 
{
  "name": "PNAME",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint index.js app --fix --ext .js,.ts,.tsx",
    "test:e2e": "detox test -c ios.sim.debug",
    "build:e2e": "detox build -c ios.sim.debug",
    "ci:test:e2e": "detox test -c ios.sim.release -l verbose --cleanup",
    "ci:build:e2e": "detox build -c ios.sim.release",
    "compile": "tsc --noEmit -p . --pretty",
    "format": "npm-run-all format:*",
    "format:js": "prettier --write {.,**}/*.js",
    "format:json": "prettier --write {.,**}/*.json",
    "format:md": "prettier --write {.,**}/*.md",
    "format:ts": "prettier --write {.,**}/*.{ts,tsx}",
    "hack:types-react-navigation": "rimraf node_modules/@types/react-navigation/node_modules/@types",
    "hack:types-react-native": "rimraf node_modules/@types/react-native/node_modules/@types",
    "hack:types-react-test-renderer": "rimraf node_modules/@types/react-test-renderer/node_modules/@types",
    "patch": "patch-package",
    "postinstall": "node ./bin/postInstall",
    "prepare": "npm-run-all patch hack:*",
    "storybook": "storybook start -p 9001 --skip-packager",
    "adb": "adb reverse tcp:9090 tcp:9090 && adb reverse tcp:3000 tcp:3000 && adb reverse tcp:9001 tcp:9001 && adb reverse tcp:8081 tcp:8081"
  },
  "dependencies": {
    "@react-native-community/async-storage": "^1.5.1",
    "apisauce": "1.0.3",
    "i18n-js": "^3.0.11",
    "lodash.shuffle": "^4.2.0",
    "lodash.throttle": "^4.1.1",
    "mobx": "^4.13.0",
    "mobx-react-lite": "^1.4.1",
    "mobx-state-tree": "^3.14.1",
    "ramda": "0.26.1",
    "react": "16.9.0",
    "react-native": "0.61.2",
    "react-native-gesture-handler": "^1.3.0",
    "react-native-keychain": "3.1.3",
    "react-native-localize": "^1.0.0",
    "react-native-screens": "^2.0.0-alpha.5",
    "react-native-splash-screen": "3.1.1",
    "react-navigation": "3.11.1",
    "reactotron-mst": "^3.1.1",
    "reactotron-react-native": "^4.0.0-beta.1",
    "validate.js": "0.13.1"
  },
  "devDependencies": {
    "@babel/core": "^7.6.4",
    "@babel/plugin-proposal-decorators": "^7.0.0",
    "@babel/plugin-proposal-optional-catch-binding": "^7.0.0",
    "@babel/runtime": "^7.6.3",
    "@emotion/core": "^10.0.15",
    "@storybook/addon-storyshots": "5.1.11",
    "@storybook/react-native": "5.1.11",
    "@types/jest": "24.0.18",
    "@types/ramda": "0.26.18",
    "@types/react": "16.8.24",
    "@types/react-native": "0.60.19",
    "@types/react-navigation": "3.0.7",
    "@types/react-test-renderer": "16.8.3",
    "@typescript-eslint/eslint-plugin": "^1.1.0",
    "@typescript-eslint/parser": "^1.1.0",
    "babel-jest": "^24.9.0",
    "detox": "^14.0.1",
    "emotion-theming": "^10.0.14",
    "eslint": "^6.6.0",
    "eslint-config-prettier": "^6.0.0",
    "eslint-config-standard": "^13.0.1",
    "eslint-plugin-import": "^2.15.0",
    "eslint-plugin-node": "^9.1.0",
    "eslint-plugin-promise": "^4.0.1",
    "eslint-plugin-react": "^7.12.4",
    "eslint-plugin-react-native": "^3.6.0",
    "eslint-plugin-standard": "^4.0.0",
    "ignite-bowser": "^4.9.0",
    "jest": "^24.9.0",
    "jetifier": "^1.6.1",
    "metro-react-native-babel-preset": "^0.57.0",
    "npm-run-all": "4.1.5",
    "patch-package": "6.1.2",
    "postinstall-prepare": "1.0.1",
    "prettier": "1.18.2",
    "react-devtools-core": "3.6.3",
    "react-native-dotenv": "^0.2.0",
    "react-powerplug": "1.0.0",
    "react-test-renderer": "16.9.0",
    "rimraf": "2.6.3",
    "solidarity": "2.3.1",
    "typescript": "3.5.3"
  },
  "jest": {
    "preset": "react-native",
    "setupFiles": [
      "<rootDir>/node_modules/react-native/jest/setup.js",
      "<rootDir>/test/setup.ts"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/e2e"
    ],
    "transformIgnorePatterns": [
      "node_modules/(?!(jest-)?react-native|react-native|react-navigation|@react-navigation|@storybook|@react-native-community)"
    ]
  },
  "prettier": {
    "printWidth": 100,
    "semi": false,
    "singleQuote": false,
    "trailingComma": "all"
  },
  "detox": {
    "test-runner": "jest",
    "configurations": {
      "ios.sim.debug": {
        "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/PNAME.app",
        "build": "xcodebuild -workspace ios/PNAME.xcworkspace -scheme PNAME -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=NO",
        "type": "ios.simulator",
        "name": "iPhone 8"
      },
      "ios.sim.release": {
        "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/PNAME.app",
        "build": "xcodebuild -workspace ios/PNAME.xcworkspace -scheme PNAME -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=NO",
        "type": "ios.simulator",
        "name": "iPhone 8"
      }
    }
  },
  "eslintConfig": {
    "parser": "@typescript-eslint/parser",
    "extends": [
      "prettier",
      "plugin:@typescript-eslint/recommended",
      "plugin:react/recommended",
      "plugin:react-native/all",
      "standard"
    ],
    "parserOptions": {
      "ecmaFeatures": {
        "jsx": true
      },
      "project": "./tsconfig.json"
    },
    "plugins": [
      "@typescript-eslint",
      "react",
      "react-native"
    ],
    "settings": {
      "react": {
        "pragma": "React",
        "version": "detect"
      }
    },
    "globals": {
      "__DEV__": false,
      "jasmine": false,
      "beforeAll": false,
      "afterAll": false,
      "beforeEach": false,
      "afterEach": false,
      "test": false,
      "expect": false,
      "describe": false,
      "jest": false,
      "it": false
    },
    "rules": {
      "comma-dangle": 0,
      "no-unused-vars": 0,
      "no-undef": 0,
      "quotes": 0,
      "react/no-unescaped-entities": 0,
      "react/prop-types": "off",
      "react-native/no-raw-text": 0,
      "space-before-function-paren": 0,
      "@typescript-eslint/indent": 0,
      "@typescript-eslint/explicit-member-accessibility": 0,
      "@typescript-eslint/explicit-function-return-type": 0,
      "@typescript-eslint/member-delimiter-style": 0,
      "@typescript-eslint/no-explicit-any": 0,
      "@typescript-eslint/no-object-literal-type-assertion": 0,
      "@typescript-eslint/no-empty-interface": 0,
      "@typescript-eslint/no-var-requires": 0
    }
  }
}

Most helpful comment

All 4 comments

react-native-screens was causing this. It was temporarily disabled in https://github.com/infinitered/ignite-bowser/commit/1c5785e0a7b29399456db5aacc3befa7d720af37, then fixed in https://github.com/infinitered/ignite-bowser/pull/289 (released as v4.11.0)

@TnasuH Can you test with the latest Ignite Bowser?

@TnasuH Can you test with the latest Ignite Bowser?

@jamonholmgren I couldn't test it sorry. I will test it at this weekend.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GantMan picture GantMan  路  3Comments

GantMan picture GantMan  路  3Comments

besingamkb picture besingamkb  路  3Comments

vesper8 picture vesper8  路  3Comments

GantMan picture GantMan  路  3Comments