booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

Package Error #1

Closed profuturetech closed 1 year ago

profuturetech commented 1 year ago

Got Error on running app

Because every version of flutter_test from sdk depends on path 1.8.2 and every version of houzi_package from path depends on path 1.8.1, flutter_test from sdk is incompatible with houzi_package from path. So, because houzi depends on both houzi_package from path and flutter_test from sdk, version solving failed. pub get failed (1; So, because houzi depends on both houzi_package from path and flutter_test from sdk, version solving failed.)

AdilSoomro commented 1 year ago

You've two solutions.

Downgrade flutter version to 3.0.5.

Or

Set Path library version to 1.8.2 in pubspec.yaml in houzi_package

profuturetech commented 1 year ago

How to downgrade flutter version to 3.0.5, my current version is 3.3.5

I change to Path 1.8.2

I got error

class KurdishKmrMaterialLocalizations extends GlobalMaterialLocalizations { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /F:/android_new/flutter/packages/flutter/lib/src/material/material_localizations.dart:204:14: Context: 'MaterialLocalizations.menuBarMenuLabel' is defined here. String get menuBarMenuLabel; ^^^^^^^^^^^^^^^^

AdilSoomro commented 1 year ago

Download Flutter 3.0.5 from here:

Windows: https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.0.5-stable.zip

MacOS: https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.0.5-stable.zip

And replace existing flutter folder with this one. Clean project after and try again.

profuturetech commented 1 year ago

Last error Running Gradle task 'assembleDebug'... packages/houzi_package/lib/houzi_main.dart:121:36: Error: Member not found: 'delegate'. AppLocalizations.delegate,

Last Line class AppLocalizations { }

Hassan6197 commented 1 year ago

Hello @profuturetech Go to Project_HOME > lib > l10n and replace kurdish_material_localization_delegate.dart with this, unzip this and override dart file kurdish_material_localization_delegate.zip

profuturetech commented 1 year ago

Everything is Working fine, thanks for your support. App is value for money, App is working fine

Last One, How to Set default country to India, on phone login

Hassan6197 commented 1 year ago

Everything is Working fine, thanks for your support. App is value for money, App is working fine

Last One, How to Set default country to India, on phone login

Go to Project_HOME\lib\pages\home_screen_drawer_menu_pages\user_related\phone_sign_in_widgets\user_get_phone_number.dart file

Add parameter initialCountryCode in IntlPhoneField() and give initialCountryCode value of your country code. For example

Go to Widget addPhone() ... IntlPhoneField( initialCountryCode: 'IN', ... ), ...

AdilSoomro commented 1 year ago

@profuturetech did it work for you?

profuturetech commented 1 year ago

Sorry, Thanks for your support, It is working and also published in play store