if(something)
widget()
and
if(something)...[
widget(),
widget(),
widget(),
widget(),
widget(),
.........
]
widget()
and
if(something)...[
widget(),
widget(),
widget(),
widget(),
widget(),
.........
]
flutter local auth crashes on android < 8.1
Solve , in androidmanifest.xml
<activity
android:name="net.openid.appauth.RedirectUriReceiverActivity"
android:exported="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
tools:node="replace">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="your-scheme-check-docu-for-info"/>
</intent-filter>
</activity>
Solve , in androidmanifest.xml
<activity
android:name="net.openid.appauth.RedirectUriReceiverActivity"
android:exported="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
tools:node="replace">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="your-scheme-check-docu-for-info"/>
</intent-filter>
</activity>
Could not build the precompiled application for the device.
Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
solve
https://www.youtube.com/watch?v=a_6gAsH378A&t=105s
Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
solve
https://www.youtube.com/watch?v=a_6gAsH378A&t=105s
YouTube
Flutter Xcode 15 Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
Flutter Xcode 15 Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY…
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY…
ios buildni Testflightga yuklayotganda kimdadir shunday muammo chiqsa .
Yechim:
Xcode => Signing&Capabilities => Signing > Team => Add an Account
1. red card ichida signin qilish zarur notify ko’rinadi va signin qilish kerak .
2. “ IOS Distribution “ sertificate olish kerak
Yechim:
Xcode => Signing&Capabilities => Signing > Team => Add an Account
1. red card ichida signin qilish zarur notify ko’rinadi va signin qilish kerak .
2. “ IOS Distribution “ sertificate olish kerak
👍3
Forwarded from Flutter Notes
Flutterda await va Future.wait farqi.
E'tibor bering, List-dagi natijalar tartibi Future.wait listida taqdim etilgan Future obyektlari tartibiga mos keladi.
#Flutter
await func() : Bu holatda bitta asinxron funksiya chaqiruvining tugashini kutish uchun ishlatiladi.await Future.wait([func1(), func2()]) : Bu holatda bir vaqtning o'zida bir nechta asinxron funksiya chaqiruvlarining tugashini kutish uchun ishlatiladi. Future.wait funksiyasi barcha taqdim etilgan Future obyektlari tugallanganda tugallanadigan yangi Future-ni qaytaradi.E'tibor bering, List-dagi natijalar tartibi Future.wait listida taqdim etilgan Future obyektlari tartibiga mos keladi.
#Flutter
👍6🔥2👏2
Hi guys
After updating to xcode 15, I advise you check your apps on ios 16 and 17 version , it may cause some problems and you may spend a lot of time to find the problem ( for example, I spent more than 1 week )
I updated xcode and put the app on testflight without checking it on different versions and my testers started having the same problems, some apps work on version 16 but crash on 17 , and some apps work on version 17 but crash on 16 , same problem and the problem was in the image (first img).
If you also have the same problem, search for the file "FlutterKeychainPlugin.m" in android studio, remove this line ( L57-L59)(second img), it is considered not available in xcode 15
After updating to xcode 15, I advise you check your apps on ios 16 and 17 version , it may cause some problems and you may spend a lot of time to find the problem ( for example, I spent more than 1 week )
I updated xcode and put the app on testflight without checking it on different versions and my testers started having the same problems, some apps work on version 16 but crash on 17 , and some apps work on version 17 but crash on 16 , same problem and the problem was in the image (first img).
If you also have the same problem, search for the file "FlutterKeychainPlugin.m" in android studio, remove this line ( L57-L59)(second img), it is considered not available in xcode 15
👍3🔥2
hello guys , today I want to show you one of the problems that many developers struggle with .
Easy way to pay annual fee on appstoreconnect on Macbook
You must have added the visa card to the apple id (I added the online visa card of the Aloqabank , there was no problem ) ,
1 - open Appstore in macbook
2 - in the bottom left corner you will see account name and click on it
3- click on the "Account settings" text and a new window will open
Easy way to pay annual fee on appstoreconnect on Macbook
You must have added the visa card to the apple id (I added the online visa card of the Aloqabank , there was no problem ) ,
1 - open Appstore in macbook
2 - in the bottom left corner you will see account name and click on it
3- click on the "Account settings" text and a new window will open
🔥2
Dart , Flutter
hello guys , today I want to show you one of the problems that many developers struggle with . Easy way to pay annual fee on appstoreconnect on Macbook You must have added the visa card to the apple id (I added the online visa card of the Aloqabank , there…
4- you may be asked for account verification, retype apple id and password (this is for security) , you can see img and click "Manage Payments " text and asks you to re-enter the cvc number of the visa card and you re-enter it and press the "done" button , your visa card should have money in the amount of $99 and it will withdraw the money from you quickly (you will wait for about 1 min) and you will find out that your account is active from this site ( https://developer.apple.com/account )
if your due date is approaching , you will receive a notification on appstoreconnect and you can pay it early
If anyone has a problem , leave a comment and we will help ( freee 😅 )
if your due date is approaching , you will receive a notification on appstoreconnect and you can pay it early
If anyone has a problem , leave a comment and we will help ( freee 😅 )
Apple
Sign in to your Apple Account
🔥3
Dart , Flutter pinned «For pod install ====> arch -x86_64 pod install $ flutter clean $ flutter pub get $ cd ios $ rm Podfile $ pod setup $ flutter build ios For app bundle ===>flutter clean && flutter pub get && flutter build appbundle For app release ===> flutter clean…»
Assalamu alaikum , I'm glad to that you have been on the channel for a long time, today's topic is about "THE PACKAGE" , packages are the best helper in flutter and it's very useful for ready-made UIs or some functions , and so I would advise you to read or open pdf , word , excel and any files from the phone storage or from api , read in detail each packages you want to use study it, look at the repositories, some of my packages use SDKs that are not accepted by the play market and appstore , and because of this I got rejected for 1-2 days and I solved it by deleting the package , I hope you will be careful .
good luck everyone !
good luck everyone !
👍5👏2
notification_functions.dart
4.2 KB
Assalamu alaikum , today I want to talk about Notifications , we know that many apps use Firebase Notifications and the 1st thing I want to mention is
"If you are an existing user of the legacy HTTP or XMPP APIs (deprecated on 6/20/2023), you must migrate to the latest Firebase Cloud Messaging API (HTTP v1) by 6/20/2024",
if you are using Firebase Notification i recommend you check it out
Right now firebase recommends using the Firebase Cloud Messaging API (HTTP v1).
why we need: "The HTTP v1 API fully supports messaging options available on Apple platforms, Android and Web. Since each platform has its own defined block in the JSON payload, FCM can extend the API to new versions and new platforms as needed."
briefly about usage: add the notification to the apple and android settings and get the certificates (link) and download the json keys for the backend part from the Project Overview=>Service Accounts section and get the access token from it(oauth), and use it as shown in this link (notification) , the link can be used for sending notification sound or chats or any parts ,
If you have any questions about the notification, please leave a comment .
"If you are an existing user of the legacy HTTP or XMPP APIs (deprecated on 6/20/2023), you must migrate to the latest Firebase Cloud Messaging API (HTTP v1) by 6/20/2024",
if you are using Firebase Notification i recommend you check it out
Right now firebase recommends using the Firebase Cloud Messaging API (HTTP v1).
why we need: "The HTTP v1 API fully supports messaging options available on Apple platforms, Android and Web. Since each platform has its own defined block in the JSON payload, FCM can extend the API to new versions and new platforms as needed."
briefly about usage: add the notification to the apple and android settings and get the certificates (link) and download the json keys for the backend part from the Project Overview=>Service Accounts section and get the access token from it(oauth), and use it as shown in this link (notification) , the link can be used for sending notification sound or chats or any parts ,
If you have any questions about the notification, please leave a comment .
👍3🔥3
UPDATE DAY
Assalamu alaikum , Agar siz yangi Xcode/mac/flutter versiyalarini update qilganizdan keyin shunday muammo chiqgan bo'lsa:
<------------------------------------------------>
Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'firebase_messaging.FLTFirebaseMessagingPlugin': '/Users/macbookpro/Downloads/axroromonov/git_lab/***your_project_name*****/ios/Pods/Headers/Public/Firebase/Firebase.h' /Users/macbookpro/.pub-cache/hosted/pub.dev/firebase_messaging-15.1.2/ios/Classes/FLTFirebaseMessagingPlugin.h:11:8
<------------------------------------------------>
Runner=>Build Settings => searchbar => "Allow Non-modular Includes in Framework Modules" and "Yes" instead of "No" ( see photo )
Assalamu alaikum , Agar siz yangi Xcode/mac/flutter versiyalarini update qilganizdan keyin shunday muammo chiqgan bo'lsa:
<------------------------------------------------>
Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'firebase_messaging.FLTFirebaseMessagingPlugin': '/Users/macbookpro/Downloads/axroromonov/git_lab/***your_project_name*****/ios/Pods/Headers/Public/Firebase/Firebase.h' /Users/macbookpro/.pub-cache/hosted/pub.dev/firebase_messaging-15.1.2/ios/Classes/FLTFirebaseMessagingPlugin.h:11:8
<------------------------------------------------>
Runner=>Build Settings => searchbar => "Allow Non-modular Includes in Framework Modules" and "Yes" instead of "No" ( see photo )
👍4🔥3
If you have hot tasks or deadline, I recommend you don't update xcode/mac/flutter sdk , it can take hours to download and version issues after download
👍7🔥4👌2
Emulatorni run qilishda agar shunday xatolik chiqsa
************************************************************
INFO | Android emulator version 35.3.11.0 (build_id 12836668) (CL:N/A) INFO | Graphics backend: gfxstream INFO | Found systemPath /Users/macbookpro/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a/ INFO | Increasing RAM size to 3072MB INFO | Checking system compatibility: INFO | Checking: hasSufficientDiskSpace INFO | Ok: Disk space requirements to run avd: Pixel_7_Pro_API_33 are met. INFO | Checking: hasSufficientHwGpu INFO | Ok: Hardware GPU requirements to run avd: Pixel_7_Pro_API_33 are passed. INFO | Checking: hasSufficientSystem INFO | Ok: System requirements to run avd: Pixel_7_Pro_API_33 are met. ERROR | Running multiple emulators with the same AVD ERROR | is an experimental feature. ERROR | Please use -read-only flag to enable this feature.
************************************************************
terminalda adb fileni tekshirib ko'rish kerak va quyidagi commandlarni kiritish kerak
************************************************************
INFO | Android emulator version 35.3.11.0 (build_id 12836668) (CL:N/A) INFO | Graphics backend: gfxstream INFO | Found systemPath /Users/macbookpro/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a/ INFO | Increasing RAM size to 3072MB INFO | Checking system compatibility: INFO | Checking: hasSufficientDiskSpace INFO | Ok: Disk space requirements to run avd: Pixel_7_Pro_API_33 are met. INFO | Checking: hasSufficientHwGpu INFO | Ok: Hardware GPU requirements to run avd: Pixel_7_Pro_API_33 are passed. INFO | Checking: hasSufficientSystem INFO | Ok: System requirements to run avd: Pixel_7_Pro_API_33 are met. ERROR | Running multiple emulators with the same AVD ERROR | is an experimental feature. ERROR | Please use -read-only flag to enable this feature.
************************************************************
terminalda adb fileni tekshirib ko'rish kerak va quyidagi commandlarni kiritish kerak
adb kill-server
adb start-server
adb devices
🔥5❤1
Qo'shimcha
Agar ADB command topilmasa buni Android Sdk da bor ekanligini tekshirish kerak
Agar ADB command topilmasa buni Android Sdk da bor ekanligini tekshirish kerak
ls ~/Library/Android/sdk/platform-tools/
~/Library/Android/sdk/platform-tools/adb devices
👍4🔥3👏2