phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

Push Channel with Unicode caracter #2869

Open digocesar opened 4 years ago

digocesar commented 4 years ago

Expected Behaviour

Use accentuation in notification channel description.

Actual Behaviour

When creating channel with description with accents it does not show the correct text in Android notification settings.

Steps to Reproduce

Create a channel with accents. See at Android setting the App notification channel names.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 8

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Moto G6

Cordova CLI version and cordova platform version

cordova 9.0.0
cordova platform version android  8.1.0

Plugin version

phonegap-plugin-push 2.3.0 "PushPlugin"

Sample Code that illustrates the problem

PushNotification.createChannel(
            () => {
                console.log('done')
            },
            () => {
                console.log('error')
            },
            {
                id: 'MyChannel',
                description: 'Notificações',
                importance: 3,
                visibility: 1,
                vibration: true
            }
        );