onehour time tracking app
a time tracking app build using flutter.
screens
first header | second header |
---|---|
tech stack
- flutter
- flutter bloc with hydrated bloc
- firebase
- admob
features
- track time for all your task.
- offline support.
- social logins (google, facebook)
- light & dark theme support.
- ads configured using remote config.
getting started
- download repository and download your download locally
- install flutter 1.7.8
- install android studio / intellij / vscode
- preparing release for android
- preparing release for ios
building the project
android
missing key.properties file
if you try to build the project straight away, you’ll get an error complaining that a key.properties
file is missing and exit code 1 from: /onehour-appp/android/gradlew app:properties:. to resolve that,
- follow this guide to generate keystor and then move it to onehour-appp/android/app
- open onehour-appp/android and create a new file
key.properties
and your key info:
storepassword=store_password
keypassword=key_password
keyalias=key
storefile=key.jks
- integrate firebase for android
- open androidmanifest.xml and replace
admob_id
with your id.
<meta-data
android:name="com.google.android.gms.ads.application_id"
android:value="admob_id"/>
- open strings.xml and replace
0000000000
with your id.
<!-- replace "000000000000" with your facebook app id here. -->
<string name="facebook_app_id">000000000000</string>
<!--
replace "000000000000" with your facebook app id here.
**note**: the scheme needs to start with `fb` and then your id.
-->
<string name="fb_login_protocol_scheme">fb000000000000</string>
ios
- integrate firebase for ios
- open info.plist replace
reversed_client_id
,
<key>cfbundleurltypes</key>
<array>
<dict>
<key>cfbundletyperole</key>
<string>editor</string>
<key>cfbundleurlschemes</key>
<array>
<!--
replace "000000000000" with your facebook app id here.
**note**: the scheme needs to start with `fb` and then your id.
-->
<string>fb000000000000</string>
<!--replace reversed_client_id with your googleservice.plist reversed_client_id-->
<string>reversed_client_id</string>
</array>
</dict>
</array>
<!--replace 000000000000 with your facebook app id-->
<key>facebookappid</key>
<string>000000000000</string>
<!--replace facebook_display_name with your facebook display name -->
<key>facebookdisplayname</key>
<string>facebook_display_name</string>
<!--replace 00000admob_id0000000 with your admob id-->
<key>gadapplicationidentifier</key>
<string>admob_id</string>
Comments are closed.