iOS App (Error on registration code UNIMPLEMENTED)

Hello!
I’m facing problem with iOS app. I builded iOS app successfully and it’s running good. I used dist. certificate and I set push certificates etc.

When I try to send notification via firebase console it’s working good. But I’m facing a problem everytime when I open app. And it says;

"Error on registration{“code”:“UNIMPLEMENTED”,“data”:{},“errorMessage”:“Not available on iOS”}

I tried my app with real device too and it’s same…

Here is Xcode logs:

**2023-01-08 15:39:38.052538+0300 App[27647:809695] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")**

**2023-01-08 15:39:38.128422+0300 App[27647:809695] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/myusername/Library/Developer/CoreSimulator/Devices/mydevicecode/data/Containers/Data/Application/D80E7800-E36CDC835/Library/Cookies/com.myapp.id.binarycookies**

**Loading network plugin**

**⚡️ Loading app at capacitor://localhost...**

**Reachable via WiFi**

**2023-01-08 15:39:38.735092+0300 App[27647:809945] 10.3.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:**

**https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging**

**to ensure proper integration.**

**2023-01-08 15:39:38.887821+0300 App[27647:809945] 10.3.0 - [FirebaseMessaging][I-FCM002022] APNS device token not set before retrieving FCM Token for Sender ID '47912---'. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set.**

**⚡️ [log] - onscript loading complete**

**⚡️ To Native -> App addListener 24560807**

**⚡️ WebView loaded**

**⚡️ To Native -> PushNotifications requestPermissions 24560808**

**⚡️ To Native -> FCM setAutoInit 24560809**

**⚡️ To Native -> FCM isAutoInitEnabled 24560810**

**⚡️ To Native -> FCM subscribeTo 24560811**

**⚡️ To Native -> PushNotifications addListener 24560812**

**⚡️ To Native -> PushNotifications addListener 24560813**

**⚡️ To Native -> PushNotifications createChannel 24560814**

**⚡️ To Native -> PushNotifications addListener 24560815**

**⚡️ To Native -> App addListener 24560816**

**⚡️ To Native -> Network getStatus 24560817**

**⚡️ To Native -> Network addListener 24560818**

**⚡️ TO JS undefined**

**⚡️ TO JS {"enabled":true}**

**⚡️ TO JS {"connectionType":"wifi","connected":true}**

**⚡️ [debug] - {"checkAuth":true}**

**⚡️ [debug] - null**

**ERROR MESSAGE: {"message":"Not available on iOS","errorMessage":"Not available on iOS","data":{},"code":"UNIMPLEMENTED"}**

**⚡️ [error] - {"message":"Not available on iOS","errorMessage":"Not available on iOS","data":{},"code":"UNIMPLEMENTED"}**

**2023-01-08 15:39:39.401730+0300 App[27647:809945] 10.3.0 - [FirebaseMessaging][I-FCM002022] APNS device token not set before retrieving FCM Token for Sender ID '479129318587'. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set.**

**⚡️ TO JS {"receive":"granted"}**

**⚡️ To Native -> PushNotifications register 24560819**

**⚡️ TO JS undefined**

**⚡️ TO JS {"value":"8002623DB7582E6E4FF23CC8FC76144BBD62935B03C4E2B7216F5CEFF8C61199160E825267A65A999DFD5E8BC541DBD64FADD87EFCF1774B88E95FD1898A6BC3F5A416BB952FDFFCD471797AF5C083CD"}**

**⚡️ To Native -> FCM getToken 24560820**

**⚡️ TO JS {"token":"fDipuhTfl0QUi9-DV5J7wC:APA91bGOF1W9FS7HbXfyUjh0ZG2FP30OdQ0dfdXSh2xM8rvGTBGww6UUtRGCSvFTlICqWa95PfAk4AE-qHy0tRtAeS-kUHC2bSXIG4JyjrxX_oa5FaGPDRFPJ7vr3e05YpAmCKu-J4nx"}**

**⚡️ TO JS {"message":"subscribed to topic customer"}**