- ReactJs
- NodeJs
- MongoDB (To store auth userDetail)
- Firebase (To store images, files)
- Flutter
Todo
- Directory:
MVstreamer
- Create
.env
file in Root Directory - Get all the environment variables which are include in
.env.example
- Get Firebase SDK Service Account Key & Connect MongoDB
- Run
npm install --global yarn
to install yarn - Run
npm install -g nodemon
to install nodemon - Run
yarn
to install all packages - Run
yarn start
to run the server
- Directory:
Mvstreamer/client/web
- create
.env
file and add variable value included in.env.example
- Run
yarn
to install all packages - Run
yarn start
to run the server
- Directory
MVstreamer/client/mobile
- Create
.env
file in Root Directory - Get all the environment variables which are include in
.env.example
- create
Info.plist
file insideios/Runner/
and copy given peace of code bellow - create Firebase app for android and ios google auth and download
google-services.json
&GoogleServices-info.plist
and copy insideandroid/app
&./ios
- inside
ios/Runner/info.plist
change this line of code: -
<array> <!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID --> <string>com.googleusercontent.apps.</string> </array>
- create developer Facebook application and create
strings.xml
file insideandroid/app/src/main/res/values
and copy this peace of code insidestrings.xml
and copy all the required value from developer facebook -
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="facebook_app_id">1234</string> <string name="fb_login_protocol_scheme">fb1234</string> <string name="facebook_client_token">56789</string> <string name="app_name">app_name</string> </resources>
- inside
ios/Runner/info.plist
change this like of code with your own value : -
<key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>fbAPP-ID</string> </array> </dict> </array> <key>FacebookAppID</key> <string>APP-ID</string> <key>FacebookClientToken</key> <string>CLIENT-TOKEN</string> <key>FacebookDisplayName</key> <string>APP-NAME</string>
- Run
flutter run
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Android Ios</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.mvstreamer.env</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>MVstreamer</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<!-- TODO Replace this value: -->
<!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID -->
<string>com.googleusercontent.apps</string>
</array>
</dict>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app needs to use Photos</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbAPP-ID</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>APP-ID</string>
<key>FacebookClientToken</key>
<string>CLIENT-TOKEN</string>
<key>FacebookDisplayName</key>
<string>APP-NAME</string>
</dict>
</plist>