Top

Probot documentation

Common Errors


  1. Check all values in the firebase config collection and in firebase_config.dart it should be the same as in the firebase config value
  2. Also check data type which we have mention in document along with config data name in Firebase Rules
  1. To set default Language, you need to set a value on splash_controller if any language stored is local then get that value from local if not then set a default index value from JSON according to your requirement.
  2. Now Go to Splash Controller which is in lib -> controllers -> auth_controller -> splash_controller
  3. In that onReady Function set default value if no data store in local storage
  4. If there is no data saved in storage we have set "en" you need to set your default language code.
  5. Now in main.dart which is in lib -> main.dart just change locale and fallbackLocale with your default requirement language which is in french so paste the below the line in locale and fallbackLocale.

  6. Example : const Locale('fr', 'CA')
  1. Firstly go to firebase in firestore databse check permission is give for add data or not in Rules .
  2. Now in your project go to chat_layout_controller check all codes are up-to-date with latest code.
  3. Check whether you textbox value are going in api and check what response is coming.
  4. Chat history is only for logged user those user who login in app can access chat history
  5. And also isChatHistory value is true in firebase if it is false update value by true.
  1. Check all datatype in firebase while add data in firestore database in config collection
  2. We have provide all config fields and datatype.
  3. For Config you can check in Firebase Rules -> Create Env Config in Firestore Database : 6. no point
  1. Check whether you have give valid name in firebase and also in firebase_config.dart model it should be same as you given in firebase.
  2. Check firebase data value name in all the dart file where ever data came from firebase like config data came from firebase, chat history, chat layout screen.
  • Go to ios -> podfile and paste this library's
    1. pod 'GoogleMLKit/TextRecognitionChinese', '~> 4.0.0'
    2. pod 'GoogleMLKit/TextRecognitionDevanagari', '~> 4.0.0'
    3. pod 'GoogleMLKit/TextRecognitionJapanese', '~> 4.0.0'
    4. pod 'GoogleMLKit/TextRecognitionKorean', '~> 4.0.0'
    1. Try to upgrade your java version 1.8 or 11 as per your system requirement and also try to upgrade your gradle version
    1. Try to Upgrade latest version of flutter with 3.10.2 and also take the latest version of all the plugin and remove new_version plugin and flutter_widget_from_html plugin from pubspec.yaml and run command "flutter pub get" (Firstly try to update screenshot, share_plus, webview_flutter plugin) and run command "flutter pub get"
    2. Also update your code with latest code from codecanyon