ionic-team / ionic-team/capacitor-local-notifications

feat: capacitor localnotification image is not showing

Open
#3 15 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
0
Forks
0
Avg merge
11h 50m
Merged PRs (30d)
2

Description

# Bug Report

Latest Dependencies:

@capacitor/cli: 1.4.0

@capacitor/core: 1.4.0

@capacitor/android: 1.4.0

@capacitor/ios: 1.4.0

## Affected Platform(s)
I tested it on Android and web also

- [x] Android
- [ ] iOS
- [ ] Electron
- [x] Web

## Current Behavior
when showing notification no image is shown in the notification

## Expected Behavior
when adding url and id to attachments it should show image in notification

## Sample Code or Sample Application Repo
```
LocalNotifications.schedule({
notifications: [
{
title: "aaaa",
body: "Body",
id: 1,
actionTypeId: 'OPEN_PRODUCT',
attachments: [
{ id: 'face', url: 'https://khanoo.com/wp-content/uploads/estate_images/house/77-1576179614/230174.jpg' }
],
schedule: {
every: "minute"
},

extra: null
}
]
});
```

## Reproduction Steps

Just test my code which i provided to see if you can see image or not

## Other Technical Details

`npm --version` output: 6.13.4

`node --version` output: v12.13.1

`pod --version` output (iOS issues only): 1.9.0.beta.2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.