How to solve the problem that notification cannot be requested on iOS14

Details of the bug

An app that was able to request notification permission and display push notifications up to iOS 13. When I gave it to iOS14, the push notification disappeared. When I reinstall the app, I can't even request notification permission.

In my case, it only happened in production.

Cause

https://developer.apple.com/forums/thread/660648

ProductName was katakana.

The settings are separated for each environment such as debug, stg, and releaes. The ProductName of debug and stg was half-width alphabetic characters, while the ProductName for release was full-width katakana. This is because I wanted to change the app name displayed on the device for each environment.

When I changed this to half-width alphabetic characters, notification requests and push notifications were displayed normally.

For the app name, I set Bundle display name in info.plist and set the app name defined in ʻUser-Defined of Build Settings` there.

Contact Apple

I was worried that I couldn't see the effect of changing the ProductName, so I contacted Apple's technical support. I know the app name and other visible parts, but I don't know where ProductName is used and what effect it has. In particular, this time around notifications, it affected places that were not within the scope of my implementation. So I made an inquiry just in case.

To summarize the answer,

・ There is no problem even if the Product Name is changed.
・ Recently, I found this bug
・ Test all the way to see if it's okay

is what they said.

I tested it with Test Flight and released it.

Modified version of iOS 14.x

For the time being, I asked when the modified version was released and which version, but it was undecided.

I want you to heal quickly.

Let's make ps and Product Name alphabetic.

Recommended Posts

How to solve the problem that notification cannot be requested on iOS14
Lenovo ThinkPad T14 Gen1 How to solve the problem that the speaker becomes dummy and cannot be used when installing Ubuntu 20.04 on AMD
How to solve the problem that the website image is not displayed after deploying to heroku on Rails 5
Address to the problem that the video is paused during background transition while playing video on iOS14
How to fix the problem that Aptana Studio does not start
The operator that was born to be born, instanceof (Java) ~ How to use the instanceof operator ~
How to solve the problem that you can not pull image from docker hub with Minikube
Avoid the problem that session cannot be acquired when canary release when upgrading from Rails 4.2.x to 5.0.x
How to change the timezone on Ubuntu
[Android] How to turn the Notification panel on and off using StatusBarManager
Get the event that the iOS application moves to the back on the View side
[Xcode] Build succeeds, but the problem cannot be installed on the actual machine
How to solve the local environment construction of Ruby on Rails (MAC)!
767 JSON :: ParserError occurs and the problem that the local server cannot be started
How to solve the problem that it is not processed normally when nesting beans in Spring Batch
[Rails] How to solve the problem that the default image is overwritten when editing without uploading the image [Active Storage]
How to configure ubuntu to be used on GCP
Solves the problem that SwiftPM cannot cross the proxy and cannot add packages to the project
How to resolve errors that occur in the "Ruby on Rails" integration test
How to solve an Expression Problem in Java
[Java] Memo on how to write the source
How to solve the font specification problem dedicated to using IntelliJ IDEA (Win x64)
[Java] Try to solve the Fizz Buzz problem
Starting with iOS 14, text fields are automatically adjusted to be hidden on the keyboard.
[Ruby on Rails] How to stop when Rails server cannot be stopped by Ctrl + C
How to fix the problem that the upper half is cut off when using UITabBar
[Android] Solution when the camera cannot be started on Android 9
[Ruby on Rails] How to change the column name
[Beginner] Discover the N + 1 problem! How to use Bullet
Solve the N + 1 problem with Ruby on Rails: acts-as-taggable-on
How to play YouTube videos directly on iOS app
Install MySQL 5.6 on CentOS6 [How to specify the version]
How to solve the problem that line breaks in cells are amplified when outputting EXCEL using SXSSF Workbook (3.16 or older)
How to solve the problem when the value is not sent when the form is disabled in rails and sent
Solved the problem that apt-get update could not be executed on Ubuntu (Virtual Box) on Windows.
[Spring Dtata JPA] How to deal with the problem that DB change cannot be detected when you want to process API synchronously with a single thread in Spring Boot.
[IOS] How to get the table name from AWS DynamoDB
Four-in-a-row with gravity that can be played on the console
You can solve the problem by referring to the two articles !!!
How to disable Set-Cookie from API on the front side
[Note] About the Fizz_Buzz problem (How Ruby on Rails works)
How to solve the problems of Java's three Blocking Queues
How to install JDK 8 on Windows without using the installer
How to switch Java in the OpenJDK era on Mac
How to run React and Rails on the same server
What to do if the adb command cannot be executed
How to check the database of apps deployed on Heroku
How to make an application with ruby on rails (assuming that the environment has been built)
[Swift5] How to create a .gitignore file and the code that should be written by default
How to deploy on heroku
Let's solve the FizzBuzz problem!
[iOS] How to read Carthage
I tried to solve the problem of "multi-stage selection" with Ruby
[Swift] How to dynamically change the height of the toolbar on the keyboard
[Java] Try to solve the Fizz Buzz problem using recursive processing
Ubuntu on WSL2: Cannot connect to the Docker daemon at unix
How to display 0 on the left side of the standard input value
[Rails / Heroku / MySQL] How to reset the DB of Rails application on Heroku
How to install and configure the monitoring tool "Graphite" on Ubuntu
How to display products by category on the same list screen
[Swift UI] How to get the startup status of the application [iOS]