ueman / feedback

A simple widget for getting better feedback.
https://pub.dev/packages/feedback
400 stars 98 forks source link

Nothing happens when onFeedback is called on iOS in Web #148

Closed GregPuccio closed 2 years ago

GregPuccio commented 2 years ago

Version

ver 2.2.1

Library

feedback

Flutter channel

stable

Flutter version

2.8.1

Platform

iOS, Web

Details

After installing the package I tried to use the hosted web app on my iPhone and the screen never changes when clicking submit on the BetterFeedback page. No errors showing in debugging. I downloaded the three files and pushed them to Firebase Hosting as well and the same thing happens on my phone.

Steps to reproduce

Output of flutter doctor -v

[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.376], locale en-US)
    • Flutter version 2.8.1 at C:\Users\Greg\Documents\AndroidStudio\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (11 days ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc3)
    • Android SDK at C:\Users\Greg\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0-rc3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.63.2)
    • VS Code at C:\Users\Greg\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.29.0

[√] VS Code, 64-bit edition (version 1.49.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.29.0

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 96.0.4664.110
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 94.0.992.38

• No issues found!
ueman commented 2 years ago

How do you build the web project? If you're not using flutter build web --web-renderer canvaskit it doesn't work on web. Does the example app work on your iPhone?

GregPuccio commented 2 years ago

@ueman Thanks so much for the quick response! Looks like that fixed it using canvaskit as the web renderer. The example app did work on my iPhone also. Thanks again for a great package.