HTTPS ? HTTP ? CORS / XMLHttpRequest Error ?? DB는 MSSQL 을 사용하고 Middle Ware? 인 API 는 ASP.NET CORE WEB API 를 사용하고 프론트는 Flutter 를 사용하여 개발을 하는데 ,,, 네트워크 통신중에 많은 문제들을 직면하여 정리해보려고 한다 .. Google map api 를 사용하는데 일단 Flutter web 에서 배포하여 사용하려면은 https 환경에서만 map이 가능한거같다 ?? 그래서 firebase 를 통하여 배포하여서 https 는 되었는데 ... 여기서 문제점은 https web server 에서 asp.net core web api 는 http 환경이기 때문에 https --> http 로 req를 보내게 되면 Cors 에러가 발생한다 ... 그래서 web api 부분에서 Cors 허용으로 하였.. 2024. 4. 10. Flutter Firebase Binding has not yet been initialized. FlutterError (Binding has not yet been initialized. The "instance" getter on the ServicesBinding binding mixin is only available once that binding has been initialized. Typically, this is done by calling "WidgetsFlutterBinding.ensureInitialized()" or "runApp()" (the latter calls the former). Typically this call is done in the "void main()" method. The "ensureInitialized" method is idempotent; ca.. 2023. 9. 13. 이전 1 다음