electron-fcm-demo icon indicating copy to clipboard operation
electron-fcm-demo copied to clipboard

FCM not firing when Electron app is PROD built under OSX

Open ArthurianX opened this issue 2 years ago • 0 comments

We're fighting with this issue for a while and we're not sure what's happening.

  • FCM is receiving push notifications in development, but not in PROD
  • our app entitlements are:
<?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.cs.allow-unsigned-executable-memory</key>
    <true/>
    <key>com.apple.security.cs.allow-jit</key>
    <true/>
    <key>com.apple.security.cs.allow-dyld-environment-variables</key>
    <true/>
    <key>com.apple.security.device.microphone</key>
    <true/>
    <key>com.apple.security.device.audio-input</key>
    <true/>
    <key>com.apple.security.device.camera</key>
    <true/>
    <key>com.apple.security.get-task-allow</key>
    <true/>
    <key>com.apple.security.cs.debugger</key>
    <true/>
    <key>com.apple.security.cs.disable-library-validation</key>
    <true/>
    <key>com.apple.security.cs.disable-executable-page-protection</key>
    <true/>
    <key>com.apple.security.automation.apple-events</key>
    <true/>
  </dict>
</plist>

I'm not sure what we're missing, any pointers will be greatly appreciated, thanks!

ArthurianX avatar Aug 13 '22 21:08 ArthurianX