Skip to content

Misc assets not displaying after device/dom load #877

Open
@jacksonkr

Description

@jacksonkr

Bug Report

Problem

When the app display (after the splash screen) sometimes default fonts are shown and static images aren't loaded. If you close the app an reopen, or if you can trigger a page refresh with the console, then all assets are present.

What is expected to happen?

All static assets such as fonts and images would be loaded on deviceready / domready.

What does actually happen?

see "problem"

Information

This is a react JS project using cordova

Command or Code

cordova build ios then run the app

Environment, Platform, Device

9.0.0 ([email protected])

Version information

$ cordova info
[email protected] with:
  [email protected]
  [email protected]
  [email protected]
  [email protected]

Environment: 
  OS: darwin
  Node: v10.15.0
  npm: 6.12.0

Plugins:
  cordova-plugin-appcenter-analytics
  cordova-plugin-appcenter-crashes
  cordova-plugin-appcenter-push
  cordova-plugin-appcenter-shared
  cordova-plugin-compat
  cordova-plugin-device
  cordova-plugin-file
  cordova-plugin-file-transfer
  cordova-plugin-statusbar
  cordova-plugin-whitelist
  cordova-plugin-zip

...

"platforms": [
      "ios",
      "android"
    ]

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions