globules-io opened a new issue #244: Electron/Browser JS crash, 
SplashScreenProxy
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/244
 
 
   # Bug Report
   
   ### Command or Code
   ```
   cordova plugin add cordova-plugin-splashscreen@latest
   cordova platform add electron@latest
   cordova run electron  --nobuild
   
   ```
   ```
   <platform name="browser">
           <preference name="SplashScreen" 
value="/res/screens/browser/land-480x320-screen.png" />
           <preference name="AutoHideSplashScreen" value="true" />
           <preference name="SplashScreenDelay" value="3000" />
           <preference name="ShowSplashScreen" value="true" />
           <preference name="SplashScreenWidth" value="480" />
           <preference name="SplashScreenHeight" value="320" />
    </platform>
   
   ```
   
   ### What does actually happen?
   ```
   adding proxy for SplashScreen
   SplashScreenProxy.js:80 Uncaught TypeError: Cannot read property 
'appendChild' of null
       at Object.show (SplashScreenProxy.js:80)
       at showAndHide (SplashScreenProxy.js:143)
       at SplashScreenProxy.js:158
       at XMLHttpRequest.xhrStatusChangeHandler (cordova.js:902)
   ```
   
   
   
   ### Environment, Platform, Device
   [email protected]
   [email protected]
   [email protected]
   [email protected].
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to most recent version
   - [X] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to