kayseri escort
esenyurt escort suriyeli escort türbanlı escort bahçeşehir escort sınırsız escort

Flutter Setup

Estimated reading time: 1 min

Install Flutter SDK through this link

also update your path as mentioned in the above link you can run “flutter doctor” command to check if every thing is installed properly.

After installing the Flutter SDK properly. Now install IDE to edit the code. Android Studio or VS Code are the best options for Flutter development. Use this link to download and install the Android Studio with Android SDK

after installing the android studio when you open android studio for the first time it will ask you to download the components of Android SDK go a head and install these.

After properly installing Android Studio you need to install Flutter and Dart plugin for Android Studio use this link to install Flutter and Dart plugin for Android Studio.

after installing the flutter and dart plugin successfully you will see this option at start up.

Please make sure you are using the Flutter version 1.2. If you are using the Latest version of Flutter then you will not get your application complied. In order to compile your application you will have to downgrade the Flutter version from latest version to use the following Command.   flutter downgrade v1.2.1 Once you have downgraded the Flutter version. Type the following command to download that version.   flutter doctor . Flutter files will be downloaded.

After installing the Flutter SDK and Android Studio properly now you can open the project in android studio by clicking “Open an Existing Project”. And select the root folder of the project. And click open.

After opening up the project, look for file named “pubspec.yaml” and open it.

After that you need to click on “pub get” and wait for the process to complete.

Now your Flutter setup is ready. Follow next steps to compile your app

Connect Server with your app

Enter mentioned credentials to compile your app with your server.

You can get your Consumer key and Consumer secret key from the backend by going to this “yourwebsite/admin/applicationapi”

After entering these credentials you will good to compile you app. Connect your mobile with your computer and click on run button to run the application.

Firebase Connection 

To connect firebase with your app. You need to go to firebase and create your app there. And follow this complete article to understand how to connect firebase with you flutter app.

<a href="]https://medium.com/swlh/connect-flutter-to-firebase-4247114a2bde]https://medium.com/swlh/connect-flutter-to-firebase-4247114a2bde

firebase is used to gmail login and onesignal notifications.

Onesignal Notifications 

In order to connect onesignal notification with firebase. You need to go to onesignal and create your app there. Next Go to your firebase app and get these two keys from there. And paste them in you onesignal -> platform -> Google Android Section.

Copy Server Key and Sender ID from firebase

Paste these two keys here

To get you Onesignal App ID go to “Keys & IDs” section

Get this onesignal app id and paste it in your flutter application “constants.dart” file.

Facebook Integration

To integrate facebook with your flutter app you need to go to

And create your app there.

After creating your app select “Facebook Login” and Click on Setup

After that click on Android

Next skip 1 and 2 step and go to 3rd step and Enter you project package name details.

After that in step 4 generate key hashes with that command that is given there, and mention you debug and release key hashes properly

Next in step 5 Enable Single Sign on

In Step 6 You will get two keys named “facebook_app_id” & “fb_login_protocol_scheme” copy these keys.

Place these keys in the “string.xml” file under this directory

Now your login with facebook should work .

Delivery Boy

You can add in file path lib/constants.dart

  • YOUR_BACKEND_URL
  • YOUR_CONSUMER_KEY
  • YOUR_CONSUMER_SECRET
  • Your Consumer key & Consumer Secret must be converted into md5
  • Please Click on the following url to convert your consumer into md5
Was this article helpful?
Dislike 1
Views: 69
afyon escort alanya escort amasya escort ayvalik escort balikesir escort bilecik escort cankiri escort cesme escort didim escort duzce escort fethiye escort gebze escort isparta escort karabuk escort karaman escort kirikkale escort kirklareli escort kirsehir escort konyaalti escort kusadasi escort lefkosa escort manavgat escort marmaris escort mugla escort ordu escort rize escort sile escort tekirdag escort yalova escort zonguldak escort iskenderun escort gorukle escort adapazari escort corlu escort malatya escort agri escort adana escort kilis escort osmaniye escort siirt escort mus escort bartin escort sivas escort corlu escort usak escort sile escort ayvalik escort balikesir escort rize escort sultangazi escort sile escort escort bayan bayan escort suriyeli escort escort escort edirne escort zonguldak escort cankiri escort afyon escort burdur escort corum escort bilecik escort duzce escort manisa escort amasya escort yalova escort konak escort karabuk escort
1xbet 1xbet bahisno1 bahsegel casino siteleri ecopayz güvenilir bahis siteleri canlı bahis siteleri iddaa marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis marsbahis restbet canlı skor süperbahis kayit mobilbahis marsbahis marsbahis marsbahis marsbahis
onwin giris
betvakti elexusbet gorabet maksibet maltcasino milosbet quennbet setrabet atlantisbahis artoscasino dumanbet elitbahis fashionbet favoribahis hiltonbet liderbahis oslobet romabet vegabet yorkbet kalebet bet10bet bahislion bahislion bahislion betpark dakikbet dumanbet fenomenbet holiganbet kalebet kolaybet lordbahis olabahis piabet pusulabet süper10bet supertotobet mariobet bahis siteleri güvenilir bahis siteleri kaçak bahis siteleri ligobet polobet verabet
bahis bahis atlasbet baysansli bet10bet betkolik betsidney fashionbet gorabet holiganbet odeonbet romabet betasus betdoksan betgarden btcbahis casinoper casinovale coinbar eurocasino kazansana lesabahis mottobet trcasino trendbet nerobet bahistek
Go to Top
sakarya escort sakarya escort serdivan escort hd porn nevşehir escort sakarya escort ankara travesti