#
problems with flutter_google_cast-master

Hello, I needed to remove the entire flutter_google_cast-master folder because it appears to have indexing errors, but I believe the files are missing or broken.

Asked 3 weeks ago on October 14, 2025 5:23 AM Comments 54 times


  1. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    There is no issue in the code. I have attached the video. It's working well.
    - https://sendgb.com/slJokh3YiDg
     
    You must give permission by selecting "allow all" when it requests for the first time.


    Thanks & regards
    - Ameliya
  2. Generic placeholder image

    Wawa replied

    https://drive.google.com/file/d/1-NW85hWyB0EgnobHTNjDMqT82OSqTCd9/view?usp=sharing

  3. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Please share your code zip. So I can check in that.

    Thanks & regards
    - Ameliya
  4. Generic placeholder image

    Wawa replied

    I've done exactly this on several different devices. Go to your phone's settings -> apps -> your app -> permissions -> photos and videos -> allow all. This will solve the problem. However, it's not possible to upload photos or videos. Can you check the code to see if there really isn't a problem with the code?

  5. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    It happened because you might have given limited access. Go to setting in your phone -> apps -> your app -> permission -> photos & videos ->allow all. This will resolve the issue.
    Try it and then let me know.

    Thanks & regards
    - Ameliya
  6. Generic placeholder image

    Wawa replied

    Hi Ameliya, sorry for not taking so long to respond to you. I had to make an urgent trip and only arrived now. The problem I'm facing is that when the user posts a video or photo in the community, the app asks for permissions, and after we provide them, the image libraries don't load the photos or videos. I've tested it on more than 20 different phones, both Android and iOS, and the same thing happens on all of them. I can't upload images or videos. Can you help me with this issue? Is there a bug in the code?

  7. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Please share the issue you are getting in iOS.

    Make sure you are running code that was shared by me. 

    Thanks & regards
    - Ameliya
  8. Generic placeholder image

    Wawa replied

    https://drive.google.com/file/d/1UYRc7y-0bZRH4Rw7XDZIxa8R1eDB2gs-/view?usp=sharing

     

    remembering that it is compiling correctly for Android, but for iOS it is no longer compiling and giving errors

  9. Generic placeholder image

    Wawa replied

    any desk 1039763785

    I'm no longer able to compile for iOS after, Ameliya has to send the code to me, if you can help me with that too?

  10. Generic placeholder image

    Ricky replied

    On your hosting server, go to the project folder, then open the resources/lang folder. Inside, find the Brazilian language folder and open it. You’ll see all the message files there — translate them into Brazilian. These translations will be shown in the backend.

    Thanks,

    Ricky.
  11. Generic placeholder image

    Ricky replied

    please share anydesk.

    Thanks,

    Ricky.
  12. Generic placeholder image

    Wawa replied

    Is this what you are asking to do and within the backend? And within the folders on the hosting server?

  13. Generic placeholder image

    Ricky replied

    this set on manual on this path 
    Go to resources → lang → your language file, translate it, and save the changes.
    all message are trasfer to 
    Brazilian

    Thanks,

    Ricky.
  14. Generic placeholder image

    Wawa replied

    yes

     

  15. Generic placeholder image

    Ricky replied

    Brazilian lanuage  set in backend right ?

    Thanks,

    Ricky.
  16. Generic placeholder image

    Wawa replied

    I need help translating the backend into Brazilian Portuguese. I followed the documentation correctly to translate the backend. I downloaded the SVG, translated it, and uploaded it again, but my language is still English. Can you guide me on how to translate it into Brazilian Portuguese, since I followed the documentation exactly?

    ATTACHED FILES

  17. Generic placeholder image

    Ricky replied

    Go to resources → lang → your language file, translate it, and save the changes.

    Thanks,

    Ricky.
  18. Generic placeholder image

    Ricky replied

    1).How do I evaluate? I will definitely give you 5 stars, can you send me the link?
    ->
    https://codecanyon.net/downloads
    You can directly review it from the downloads section.

    Thanks,

    Ricky.
  19. Generic placeholder image

    Ricky replied

    1).I'm having trouble answering these questions within the code android.permission.READ_MEDIA_IMAGES
    -> we use this to add photo in communty section post

    2)
    android.permission.READ_MEDIA_VIDEO
    -> we use this to add video in communty section post

    Thanks,

    Ricky.
  20. Generic placeholder image

    Wawa replied

    I'm having trouble answering these questions within the code android.permission.READ_MEDIA_IMAGES

    android.permission.READ_MEDIA_VIDEO

    I'd like to know why there are these permissions for images and videos? The previous code didn't have them, but this one does.

    ATTACHED FILES

  21. Generic placeholder image

    Wawa replied

    How do I evaluate? I will definitely give you 5 stars, can you send me the link?

  22. Generic placeholder image

    Ameliya replied

     

    Hello,
    Good to hear that the app is working well.
    I'd really appreciate it if you could take a moment to leave a review on CodeCanyon. It helps a lot—thank you!

    Thanks & regards
    - Ameliya
  23. Generic placeholder image

    Wawa replied

    ?

     

    Correu tudo bem, muito obrigado pela ajuda. Preciso de ajuda com a tradução do backend para o português do Brasil. Segui a documentação corretamente para traduzir o backend. Baixei o SVG, traduzi e carreguei novamente, mas meu idioma ainda é o inglês. Você pode me orientar sobre como deixar em português do Brasil, já que segui a documentação à risca?

    ATTACHED FILES

  24. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    lib -> components -> sign_up_step4_component.dart
    line number 231: set WeightType weightType = WeightType.lb;

    Thanks & regards
    - Ameliya
  25. Generic placeholder image

    Wawa replied

    That's all that's missing here, if you can show me how to change LBS to KG and leave kg as default

    ATTACHED FILES

  26. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Go to lib-> widget -> weight_widget.dart
    line number 106 : replace  color: Color(0xffEC7E4A), with color: primaryColor,
     
    Go to lib -> store -> UserStore -> userStore.dart
    line numbet 70 : set -> String heightUnit = 'cm';
     
    Go to lib -> screens -> community_screen.dart
    line number : 271: replace color: Colors.orange, with color: primaryColor,

    Thanks & regards
    - Ameliya
  27. Generic placeholder image

    Wawa replied

    Ok, before sending it for review, tell me how to leave cm and height as default when the user fills in this information. I need the button colors to be 6B79C8FF lilac, including the community post button.

  28. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Do you mean that you want to set kg as a default weight unit or that type?

    Thanks & regards
    - Ameliya
  29. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    That's not an issue. Try to upload from the Transporter. It will show you the exact issue.

    Thanks & regards
    - Ameliya
  30. Generic placeholder image

    Wawa replied

    I need two things. One is to disable RazorPay here in the app's backend code; it's disabled. When I send the code to stores, I get a lot of warnings to resolve, and since I don't use it, I'd prefer to disable it if possible. Another thing is that here in my country, I need the weight and height to be default, and the button colors to be this color here: 6B79C8FF lilac. The community post button should be orange. I want to change the color to 6B79C8FF because people fill it out incorrectly and don't know how to fix it. I'll send you a screenshot, and you can resolve this for me and send me the file with the solution. I'm very grateful. I apologize for not asking this sooner.

  31. Generic placeholder image

    Wawa replied

    When I send it for review, I sometimes have a problem with this part that always appears. I sent it to Apple Connect and it didn't appear, but I think that since it's appearing now, I'll have a problem with this because I need to send it again for review because of the cm and height with the standard, I need it to appear like this, in addition to the colors of the buttons appearing in orange and I need to change them to lilac.

    ATTACHED FILES

  32. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    To disable Razorpay, you must do it from the backend.
    I can't understand what you want to do that you said in your 2nd point.

    Thanks & regards
    - Ameliya
  33. Generic placeholder image

    Wawa replied

    Ameliya, the app is compiling, thank you very much for that, but I need 2 things. One of them is to disable RazorPay here in the app code in the backend, it is disabled. When I send the code to the stores, I receive many warnings to resolve, and since I don't use it, I prefer to disable it if you can do that. Another thing is that here in my country, I need the weight and height to come as the main information because people fill it in wrong and don't know how to correct it. I will send you a print of the screens, and you can resolve this for me and send me the file with it resolved. I am very grateful. I apologize for not asking you this before.

    ATTACHED FILES

  34. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    You have to do this to disable it.
     
    To disable Razorpay :
    In backend code, go to config -> constant.php -> comment RazorPay in PAYMENT_GATEWAY_SETTING as shown in the image below:
     
     
    Please don't upgrade any package. it may create a issue.
    and let me know if you get any issues in running the app. 
     
    Thanks & regards
    - Ameliya
  35. Generic placeholder image

    Wawa replied

    ok, I just downloaded it, I'll check if I can compile it, I'd like to know if you disabled razorpay because I can't

  36. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Please download it and try to run. 
    Do not use Flutter Pug upgrade.

    Thanks & regards
    - Ameliya
  37. Generic placeholder image

    Wawa replied

    hello

  38. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Here is working code : https://sendgb.com/I50AdSrCje7
     

    Please do not run the flutter pub upgrade command.
    This command updates all packages to their latest versions, and some of them may include breaking changes that require code modifications.
    The project is already configured with the correct and compatible package versions, so simply use:

    flutter pub get.

    Thanks & regards
    - Ameliya
  39. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    yes, downloaded it. 

    Thanks & regards
    - Ameliya
  40. Generic placeholder image

    Wawa replied

    Did you manage to download the code?

  41. Generic placeholder image

    Wawa replied

     

    there is the link

    https://drive.google.com/file/d/1LnqYK_vuSA3RXbq9KEyVfvhDVqSlxRG8/view?usp=sharing

  42. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Can you share a zip file of the code?

    Thanks & regards
    - Ameliya
  43. Generic placeholder image

    Wawa replied

    I installed flutter_toggle_tab 1.4.1 and I'm still having problems with the code. I downloaded this code yesterday directly from CodeCanyon. I made it and I'm customizing it from scratch. I've already published it on Apple Connect and it was approved, but I can't compile it for Android even after doing everything you're asking me to do. I keep getting log errors due to incompatibility, indexing errors, broken or missing code. I can send you the code I'm using that I downloaded from Google Docs, and you'll see that there are several errors in this code. I'll share the error log with you so you can check it.

     

    Now I'm facing these issues:

     

    1. Pubspec.yaml versions of the dependencies that aren't working.

     

    2. lib/screens/add_post_screen.dart (To fix DottedBorder).

     

    3. lib/widget/custome_height_picker.dart (To fix FlutterToggleTab).

     

    4. lib/service/auth_service.dart (To fix GoogleSignIn).

     

    More issues may arise.

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    Note: Some input files use unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    3 warnings

    3 warnings

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/flutter_paytabs_bridge-2.7.2/android/src/main/java/com/paymentsdk/flutter_paymentsdk_bridge/FlutterPaytabsBridgePlugin.java uses or overrides a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    3 warnings

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    Note: Some input files use unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    3 warnings

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/my_fatoorah_payment_flutter-1.1.3/android/src/main/kotlin/com/myfatoorahflutter/my_fatoorah_flutter/crossplatform/MyfatoorahModule.java uses or overrides a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: Some input files use unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/razorpay_flutter-1.4.0/android/src/main/java/com/razorpay/razorpay_flutter/RazorpayDelegate.java uses or overrides a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    3 warnings

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: Some input files use unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    3 warnings

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    3 warnings

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    lib/screens/add_post_screen.dart:499:27: Error: No named parameter with the name 'color'.

                              color: Colors.grey,

                              ^^^^^

    ../../.pub-cache/hosted/pub.dev/dotted_border-3.1.0/lib/dotted_border.dart:19:9: Context: Found this candidate, but the arguments don't match.

      const DottedBorder({

            ^^^^^^^^^^^^

    lib/screens/add_post_screen.dart:668:27: Error: No named parameter with the name 'color'.

                              color: Colors.grey,

                              ^^^^^

    ../../.pub-cache/hosted/pub.dev/dotted_border-3.1.0/lib/dotted_border.dart:19:9: Context: Found this candidate, but the arguments don't match.

      const DottedBorder({

            ^^^^^^^^^^^^

    lib/service/auth_service.dart:22:65: Error: The method 'signIn' isn't defined for the type 'GoogleSignIn'.

     - 'GoogleSignIn' is from 'package:google_sign_in/google_sign_in.dart' ('../../.pub-cache/hosted/pub.dev/google_sign_in-7.2.0/lib/google_sign_in.dart').

    Try correcting the name to the name of an existing method, or defining a method named 'signIn'.

      GoogleSignInAccount? googleSignInAccount = await googleSignIn.signIn();

                                                                    ^^^^^^

    lib/widget/custome_height_picker.dart:83:27: Error: The argument type 'List' can't be assigned to the parameter type 'List'.

     - 'List' is from 'dart:core'.

     - 'DataTab' is from 'package:flutter_toggle_tab/flutter_toggle_tab.dart' ('../../.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/lib/flutter_toggle_tab.dart').

                    dataTabs: _listHeightText,

                              ^

    Target kernel_snapshot_program failed: Exception

     

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    Execution failed for task ':app:compileFlutterBuildDebug'.

    > Process 'command '/Users/wagnergomes/development/flutter/bin/flutter'' finished with non-zero exit value 1

     

    * Try:

    > Run with --stacktrace option to get the stack trace.

    > Run with --info or --debug option to get more log output.

    > Run with --scan to get full insights.

    > Get more help at https://help.gradle.org.

     

    BUILD FAILED in 36s

    Running Gradle task 'assembleDebug'...                             36,4s

    Error: Gradle task assembleDebug failed with exit code 1

    wagnergomes@MBP-de-Wagner mightyfitness_flutter-1 % 

     

    ATTACHED FILES

  44. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    In your pubspec.yaml file change flutter_toggle_tab version as below:
     
     
    Make sure the version in pubspec.yaml file is the same as our code. You may have updated the versions of packages.
    Then run
    - Flutter clean
    - Flutter pub get
     
     
    To disable Razorpay :
    In backend code, go to config -> constant.php -> comment RazorPay in PAYMENT_GATEWAY_SETTING as shown in the image below:
     
     



    Thanks & regards
    - Ameliya
  45. Generic placeholder image

    Wawa replied

    I did exactly as you asked but I'm facing the following problems and I can't solve it?

     

    1-../../.pub-cache/hosted/pub.dev/fetch_client-1.1.4/lib/src/fetch_response.dart:9:57: Error: Type 'BaseResponseWithUrl' not found.

    class FetchResponse extends StreamedResponse implements BaseResponseWithUrl {

     

    2-lib/widget/custome_height_picker.dart:83:17: Error: No named parameter with the name 'labels'. 

    labels: _listHeightText,

     

    3- pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/lib/flutter_toggle_tab.dart:35:9: Context: Found this candidate, but the arguments don't match. 

    const FlutterToggleTab({

     

    In my country, Brazil, there is no RazorPay. Could you show me how to disable it completely?

  46. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    in pubspec.yaml file 
    Set the version for the health package as shown below:
     
    health: 13.1.3
    and share which versions are you using for dotted_border and flutter_toggle_tab.

    after chnaging health package version number, run
    - flutter clean
    then delete pubspec.lock file.
    then run flutter pub get.
     
    Then run the project.
     
    Thanks & regards
    - Ameliya
  47. Generic placeholder image

    Wawa replied

    I installed the version you requested (Flutter version 3.35.2). But the problem seems to have gotten much worse. I can compile for iOS normally, but it doesn't compile for Android, and when it does, it closes immediately. Can you check what's wrong with the Android code?

     

    error: cannot find symbol class Registrardevice_info-2.0.3 Android/Gradle Level (Failure 1) This is the classic error from removing V1 Embedding (the old plugin format). The device_info-2.0.3 plugin is very old and uses the PluginRegistry.Registrar API, which was removed from Flutter (even in version 3.35.2).

     

    Execution failed for task ':device_info:compileDebugJavaWithJavac' device_info-2.0.3 Android/Gradle Level (Failure 1) Gradle fails because it cannot compile the Java/Kotlin code for the device_info plugin.

     

    Couldn't find constructor 'GoogleSignIn'. / The getter 'accessToken' isn't defined... lib/service/auth_service.dart The google_sign_in package (version 7.2.0) has had a major (breaking) change. The class constructor and access to the accessToken have changed.

     

    The method 'Health' isn't defined... lib/components/step_count_component.dart:37 The health package has been updated and the class/constructor name has changed.

     

    No named parameter with the name 'color'. lib/screens/add_post_screen.dart (The) dotted_border package has been updated and removed the color parameter from the constructor.

     

    No named parameter with the name 'labels'. lib/widget/custome_height_picker.dart:83 (The) flutter_toggle_tab package has been updated and removed the labels parameter from the constructor.

  48. Generic placeholder image

    Ameliya replied

     

    Hello,


    After that, if you get any issues, please share the full error log.

    Thanks & regards
    - Ameliya
  49. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Flutter version - 3.35.2. 
    After setting this run
    - flutter clean
    - flutter pub get.
    Then try to run.

    Thanks & regards
    - Ameliya
  50. Generic placeholder image

    Wawa replied

    I'm using the same version of Android Studio - Android Studio Narwhal | 2025.1.1 Patch 1 and Flutter - 3.32.2 One of these payment plugins is experiencing native launch issues on Android and is causing apps to crash.

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/flutter_paytabs_bridge-2.7.2/android/...

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/razorpay_flutter-1.4.0/android/...

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/my_fatoorah_payment_flutter-1.1.3/android/...

     

     

     

    ATTACHED FILES

  51. Generic placeholder image

    Ameliya replied

    Hello,
     
    Android Studio - Android Studio Narwhal | 2025.1.1 Patch 1  or after that.
    Flutter - 3.35.2

    Thanks & regards
    - Ameliya
  52. Generic placeholder image

    Wawa replied

    Tell me which version of Flutter I have to use and Android Studio because I can't compile the app for either Android or iOS.

    [✓] Flutter (Channel stable, 3.35.6, on macOS 15.4.1 24E263 darwin-x64, locale

        pt-BR)

    [✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)

    [✓] Xcode - develop for iOS and macOS (Xcode 16.3)

    [✓] Chrome - develop for the web

    [✓] Android Studio (version 2025.1)

    [✓] IntelliJ IDEA Community Edition (version 2024.3.4.1)

    [✓] VS Code (version 1.105.0)

    [✓] Connected device (2 available)

        ! Error: Browsing on the local area network for iPhone. Ensure the device is

          unlocked and attached with a cable or associated with the same local area

          network as this Mac.

          The device must be opted into Developer Mode to connect wirelessly. (code

          -27)

    [✓] Network resources

     

    No issues found!

    wagnergomes@MBP-de-Wagner ~ % 

  53. Generic placeholder image

    Ameliya replied

     

    Hello,

    The flutter_google_cast-master folder is actually a modified version of the package that’s already integrated into the project. You don’t need to open or index it separately — it’s included just so the app can run properly with the custom casting feature.

    If your IDE shows indexing errors, it’s likely because of how Flutter or Android Studio indexes local packages. You can safely ignore those warnings, or simply:

    1. Run flutter clean

    2. Then flutter pub get

    3. Finally, restart your IDE

    After these steps, everything should build and run normally.
    Please do not delete the flutter_google_cast-master folder, as it contains the required source files for Chromecast functionality.

    If you’re still seeing any issues after doing that, please share a screenshot or error log.

     

    Thanks & regards
    - Ameliya
Recent Tickets
URGENT Base URL is down... 1 week ago on October 30, 2025 12:10 AM river is not receiving ri... 9 months ago on January 29, 2025 9:03 AM problem with update files... 3 weeks ago on October 14, 2025 5:45 AM problems with flutter_goo... 3 weeks ago on October 14, 2025 5:23 AM Issues with installation... 1 month ago on September 12, 2025 10:37 AM in-app purchases are prem... 2 months ago on September 5, 2025 4:34 AM Flutter Brain Tree packag... 2 months ago on September 4, 2025 5:20 PM App rejected in Apple Sto... 2 months ago on September 3, 2025 10:01 AM I would like to know how ... 2 months ago on August 29, 2025 1:45 AM error - Mighty Web Webvie... 2 months ago on August 27, 2025 9:21 AM