andrehtissot / cordova-plugin-fcm-image-support

FCM Image Support for Cordova iOS
MIT License
2 stars 2 forks source link

No image on iOS #3

Open avoskresenskiy-alytics opened 3 years ago

avoskresenskiy-alytics commented 3 years ago

Hello! I installed your plugin but did not get any image :(

Project was modifed: image

Then I signed Notification Service Extension with additional provision profile.

image

Build command was successfull: cordova build ios --device --release

When I send message, only text message appears without any image.

{
  "message": {
    "token": "..............",
    "notification": {
      "title": "hey",
      "body": "you!"
    },
    "apns": {
      "payload": {
        "aps": {
          "mutable-content": 1
        }
      },
      "fcm_options": {
        "image": "https://......jpg"
      }
    }
  }
}

I am using cordova 9.0.0 and cordova-plugin-fcm-with-dependecy-updated v6.0.1 What am I doing wrong?

andrehtissot commented 3 years ago

Would you share the console log of uninstalling and installing this plugin?

There should be some warnings to help understand the problem you are facing.

avoskresenskiy-alytics commented 3 years ago

image

image

avoskresenskiy-alytics commented 3 years ago

Here is some information from console image

andrehtissot commented 3 years ago

Everything should be working. Did you tested again after these screenshots?

avoskresenskiy-alytics commented 3 years ago

Yes, I tested before and after screenshots. But no result :( Can you please publish sample project where iOS push images work?

andrehtissot commented 3 years ago

Would you share your project.pbxproj after a build?

avoskresenskiy-alytics commented 3 years ago

Here is my project.pbxproj file project.zip

mohamedfathyd commented 3 years ago

i have the same issuse can you help me to solve that