0

Is it possible? I want to create a simple CRUD app using cordova/phonegap and spring boot as backend. Whenever I test the the cordova app in the browser it always say CORS issue.

sideshowbarker
  • 81,827
  • 26
  • 193
  • 197

1 Answers1

0

It's definitely possible, in Cordova/PhoneGap you can use js and it's all you need for sending and receiving the requests if you want to use spring boot as API Backend. Check this link. CORS issue usually happens because of the app and the servers are not host in the same place but you can check for the plugin in Cordova or existed solution but you can use Cordova along with Spring Boot.

Pooya Panahandeh
  • 578
  • 7
  • 21
  • 1
    Thank you very much sir @Pooya. Now I got a clear understanding about the issue and was able to make it run. This thread: https://stackoverflow.com/questions/42652336/enabling-cross-origin-requests-in-spring-data-rest also helped me – Crizon Parcia Jr. Apr 20 '20 at 03:43