vialoh opened a new issue #192: URL: https://github.com/apache/cordova-electron/issues/192
# Bug Report ## Problem ### What is expected to happen? Electron runs the app as usual. ### What does actually happen? Blank screen. ## Information The app builds and works as expected without the `com.apple.security.network.client` entitlement: ```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.inherit</key> <true/> <key>com.apple.security.cs.allow-jit</key> <true/> <key>com.apple.security.cs.allow-unsigned-executable-memory</key> <true/> <key>com.apple.security.cs.disable-library-validation</key> <true/> <key>com.apple.security.cs.disable-executable-page-protection</key> <true/> </dict> </plist> ``` But of course there is no network access, so when adding this: ```xml <key>com.apple.security.network.client</key> <true/> ``` It breaks the app, just a blank screen. The logs are unhelpful from what I can see. I've searched and tried everything I could possibly think of over the past week before making this issue. Many different configurations, provision profiles, cordova/electron versions, etc. Many days going in circles. ### Command or Code `cordova build electron --release` (also `--debug`) on Mac for the Mac App Store. ### Environment, Platform, Device Mac OSX ### Version information Relevant lines from package.json: ```json { "devDependencies": { "cordova-android": "^9.0.0", "cordova-electron": "git+https://github.com/apache/cordova-electron.git", "cordova-ios": "^6.2.0", "cordova-plugin-background-mode": "^0.7.3", "cordova-plugin-badge": "^0.8.8", "cordova-plugin-device": "^2.0.3", "cordova-plugin-inappbrowser": "^5.0.0", "cordova-plugin-local-notification": "^0.9.0-beta.2", "cordova-plugin-network-information": "^2.0.2", "cordova-plugin-purchase": "^10.5.3", "cordova-plugin-whitelist": "^1.3.4" } } ``` I only just recently tried git `cordova-electron` version via GitHub, was previously using v2 from NPM. I'm on macOS Big Sur 11.2.3 if it makes any difference. ## Checklist - [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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
