i'm building an flutter web app and every api calls are working fine in dev-mode but when i tried release mode some api calls are not working(workig in dev-mode)has anyone encountered this kind of problem ? Can anyone help fix this issue?
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/7920ed6c-e050-4370-8f14-b586371298c9%40googlegroups.com.
Actually i just found an issue on githubdiscussing the same issue nd its still open.On Sat, 11 Jan, 2020, 11:58 PM Suzuki Tomohiro, <suz...@gmail.com> wrote:Glad you figured it out. No, I’ve never used Flutter web. (Not going to set up an app for this problem)If your finding is really happening, it’s worth reporting to Flutter team after you create a minimal project to reproduce the difference between dev and release build.Regards,TomoOn Sat, Jan 11, 2020 at 12:29 vinay sharma <vkshar...@gmail.com> wrote:TY sir for responding,actually i found the problem,After decoding my response data i ws checking its type by usingdata.runtimeType to check if its a Map or Array ...it ws working fine in dev mode but not in release build.so i changed it and used "is" operator to find data type nd it worked.can u please tell me y it ws working in dev mode nd not in release build?On Sat, 11 Jan, 2020, 10:29 PM Suzuki Tomohiro, <suz...@gmail.com> wrote:Good. What about error messages?On Sat, Jan 11, 2020 at 11:54 vinay sharma <vkshar...@gmail.com> wrote:im making an API call to my golang webserver to get some data, it is working fine in dev-mode but not in release mode