remuslazar / EVPlugFinderPublic

Public Repository to hold the Issue Tracker for the private EVPlugFinder repo
13 stars 0 forks source link

iOS 10 Push Messages Localization #139

Open remuslazar opened 5 years ago

remuslazar commented 5 years ago

Abstract

Localize the Chargepoint related push notifications according to the users locale.

Status Quo

Currently the push notifications are not localized properly, the notification body having the same localization as the originator' locale. For example:

and vice-versa.

iOS10

Using the iOS10+ UserNotification Framework and a "ServiceExtension" it is now possible to mangle the incoming notification prior to it's delivery.

Goal

The notification should always be localized properly for the user's language preferences.

Rationale

Currently the app does support only German and English localizations but later, when the app will be localized for even more locales, this will also become more of an issue.