flutteruilocalnotificationflutter-notification

How can solve this issues? ArgumentError (Invalid argument(s): iOS settings must be set when targeting iOS platform.)


How can solve this issues?

ArgumentError (Invalid argument(s): iOS settings must be set when targeting iOS platform.)

I had added the Notification, but when I running the iOS simulator I get this error How can solve this issues? ArgumentError (Invalid argument(s): iOS settings must be set when targeting iOS platform.)

But it's can working real devices, just cannot working iOS simulator


Solution

  • Push notifications do not work on iPhone simulators.They require a provisioning profile from iTunes Connect, and thus are required to be installed on a device.so if it is working fine on real devices, then no need to worry.