Posts

Showing posts from September, 2020

Integrating firebase auth

 Steps to integrate firebase auth 1 . Create new project at https://console.firebase.google.com 2 . Authentication > Sign-in method, enable the services that you want to use 3 . If you enable Phone auth, make sure you add test phone number      In the Authorized domains, add your domains to whitelisted localhost, www.yourdomain.com etc... Go Back to Settings > Project Settings > General to get the configuration files. 1. You apps > Add app and fill your application information. You can fill fingerprints later. You do not have to download the config file yet. 2. Once you've added the app Click on that app and now it's time to add fingerprints.     You need to add three finger prints  Publishing requirement for iOS Once you've downloaded the config file for iOS, you can't just drag and drop to the iOS folder as it might not detect and will say error that google-service.plist file not found. 1 - Download the config file 2 - Open .xcprojec...

Enable virtualization support in AMD

 1 - Check whether your system is already supported Hyper-V and Virtualization    Ctrl + Shift + Esc > Processigns 2- If it's not supported, restart PC > BIOS > CPU Configuration > Virtualization > Enable for Intel Processors BIOS > OC > CPU Features > SVM Mode Enable 3 - Go to turn on windows features on/off settings in the control panel 4 - Tick Hyper V and apply changes.  

Speeding up the flutter android gradle build

Image
  Make sure you’re using the latest version of Gradle. Generally with every new update there is a significant improvement in performance. Note : Java 1.8 is faster than 1.6. Make sure it’s updated too. Try to minimize the use of modules. There are many cases where we need to fork the library to modify it to fit according to our needs. A module takes 4x greater time than a  jar  or  aar  dependency. This happens due to the fact that the module needs to be built from the scratch every time. Enable gradle Offline Work from  Preferences-> Build, Execution, Deployment-> Build Tools-> Gradle . This will not allow the gradle to access the network during build and force it to resolve the dependencies from the cache itself. Note: This only works if all the dependencies are downloaded and stored in the cache once. If you need to modify or add a new dependency you’ll have to disable this option else the build would fail. Open up the  gradle.properties ...