Я пытаюсь получить некоторые данные с сервера, используя ionic 4, приложение на самом деле отлично работает в браузере, но когда я использую реальное устройство, оно не работает, после нескольких часов поиска в интернете, я нашел решение, которое у меня есть чтобы установить плагин Cordoba под названием cordova-plugin-whitelist, когда я добавил этот плагин, приложение работало нормально на устройстве Android, но не на IOS-устройстве, я проверил DOC на конденсаторе, а затем обнаружил, что должен выполнить эту команду:
ionic cap sync
после того, как этот командир выполнен, я получил это сообщение:
> capacitor add ios
✔ Installing iOS dependencies in 13.50s
✔ Adding native xcode project in: /Users/assenaneyoussef/Documents/Projects/Mobile_Projects/Test/ios in 103.53ms
✔ add in 13.61s
✔ Copying web assets from www to ios/App/public in 801.08ms
✔ Copying native bridge in 7.42ms
✔ Copying capacitor.config.json in 1.46ms
✔ copy in 868.93ms
✔ Updating iOS plugins in 8.30ms
Found 0 Capacitor plugins for ios:
✔ Updating iOS native dependencies in 13.43s
Found 1 incompatible Cordova plugin for ios, skipped install
cordova-plugin-whitelist (1.3.3)
✔ update ios in 13.47s
Now you can run npx cap open ios to launch Xcode
> capacitor sync ios
✔ Copying web assets from www to ios/App/public in 977.67ms
✔ Copying native bridge in 5.90ms
✔ Copying capacitor.config.json in 2.00ms
✔ copy in 1.12s
✔ Updating iOS plugins in 4.85ms
Found 0 Capacitor plugins for ios:
✔ Updating iOS native dependencies in 5.34s
Found 1 incompatible Cordova plugin for ios, skipped install
cordova-plugin-whitelist (1.3.3)
✔ update ios in 5.36s
Sync finished in 6.534s
```
if you noticed on the bottom of the message you'll finde a wierd message:
Found 1 incompatible Cordova plugin for ios, skipped install, is that normal ?