Can't get audio chat flutter app to run on iOS - 'AgoraRtcKit/AgoraRtcEngineKit.h' file not found - flutter

I am trying to run the flutter code from the following repository
https://github.com/perpetio/clubhouse
It succesfully installs and loads on Android (still working on the firebase authentication)
Unfortunately, on iOS (both simulator and device) I get the error message: " 'AgoraRtcKit/AgoraRtcEngineKit.h' file not found" which itself is thrown by the AgoraRtcEngineKit.h file during import
#import <AgoraRtcKit/AgoraRtcEngineKit.h>
Tried the scarce available solutions (mostly in the context of react-native) however still not working..
Many thanks in advance for your help

Did you make sure to add the iOS permissions? https://pub.dev/packages/agora_rtc_engine#ios
If you did, try this as well: https://pub.dev/packages/agora_rtc_engine#ios-video-cant-show-android-works-fine

Related

Is there a way to download my flutter app to IOS without a developer account

I have built my first flutter app and would like to download it on my iphone. I have researched the topic a bit, but have failed to find a solution. I can test it when my phone is connected to my computer but cannot use it without. Thanks
I have tried debugging it using —release. I have tried to create an ipa file using terminal, but got an error since i dont have a developer account.

UnityUploadFailed: There was an error uploading the Android App Bundle. Try again later or contact Google Play developer support if the error persists

There was an error uploading the Android App Bundle. Try again later or contact Google Play developer support if the error persists
I am getting this error and I tried resolving it using multiple things like clearing cookies, using different browser, using different internet connection. Nothing Worked.
Any help will be appreciated.
Thanks
That can happen if the app bundle you're trying to upload has the same version code as an app bundle that has been already uploaded. Double check to see that it has a higher version code.

App Action Test Tool Error "No Android Module with actions file reference found" with Flutter

I have written a Flutter app which implements several deep links with package uni_links. The deep links work correctly with adb commands. Then I created actions.xml in this path:
D:\Android\AndroidStudioProjects\FlutterProjects\garage_controller\android\app\src\main\res\xml\actions.xml
I also added the following lines in AndroidManifest.xml:
<meta-data
android:name="com.google.android.actions"
android:resource="#xml/actions" />
Android Studio highlighted "#xml/actions" in red and complains that it cannot resolve the symbol. I have other parts of AndroidManifest highlighted red. I guess these errors are because of Flutter.
I uploaded the app to Google Play and started internal testing. When I ran App Action Test Tool (AATT), I got the following error:
No Android Module with actions file reference found. You need one Android Module with an actions file reference.
My questions are:
Does App Actions work in a Flutter App?
Does AATT work on a Flutter App?
Why do I get the "cannot resolve symbol" error for "#xml/actions"? I think I put everything in the right place. Thanks for your help.
I got it fixed. Basically everything was done correctly in my Flutter app. The path of actions.xml was also correct. The issue is with AATT which does not know where to find actions.xml in a Flutter app. I just had to open the Android portion of the app in Android Studio. Then AATT knew where to find the file. Google did not put a lot of AI in its tool. More details in here: https://issuetracker.google.com/issues/204233238

flutter Xcode: fatal error: module 'admob_flutter' not found #import admob_flutter;

I am stuck with an Admob problem. I cannot display the application on the emulator. The app works great on Android.
This is the Runner/GeneratedPluginRegistrant.m:
This file is generated automatically.
What can I try to solve this issue?
This happens to me seemingly at random with whichever package iOS doesn't feel like cooperating with on a particular day.
This has worked for me in the past:
run flutter clean in terminal
run flutter pub get
navigate to iOS folder cd ios
run pod install
Sometimes that does it by itself.
Other times I find I've had to delete the entire iOS folder then have recreate it with
flutter create .
Then sometimes I would re-create the folder then do all the first steps again before I can build successfully.
If you do that and have Firebase in your app, keep in mind you'll have to re-add your GoogleService-Info.plist file via X-Code.

How can you detect runtime errors on flutter applications and log them while testing the app on iOS platform?

We tried to use speech recognition package - https://pub.dev/packages/speech_recognition in our flutter application along with other packages. The app was built successfully and installed, but we could see only a white screen on the iOS device. There was no error log that could tell us that this package created a problem. Once this module was removed we were able to see the application on the phone. This was done by manually checking for each package. I wanted to know if there is any runtime error handling methodology that could be used to log runtime errors and generate a logfile.
We are still researching on this issue, so we havent executed anything. Any suggestions would be welcome.