Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
c7cbbc8
integrate RN 0.39.2
habibridho May 4, 2017
090dc1f
add RN menu
habibridho May 4, 2017
e58fa55
Ignoring node_modules folder to match RN
fawwaz May 4, 2017
2cd97b4
working widget but still over 30 minutes
fawwaz May 4, 2017
c5beae5
finished working bacgkround service example and sql
fawwaz May 5, 2017
27714e5
merge with exp fawwaz
habibridho May 6, 2017
eab6713
progress sqlite
habibridho May 6, 2017
8d9f69b
Merge branch 'trial-widget' into fawwaz
fawwaz May 6, 2017
e941dc5
Add initial sqlite wrapper, add Product and Stat model
May 6, 2017
32ce304
Refactor helper code
May 6, 2017
68f5263
FrgamentHome: show all products
May 6, 2017
bcdda13
Test storing product info using BL API
May 6, 2017
14fdd4c
Added date time text to enhance debugging process
fawwaz May 7, 2017
f435667
Working example of showing product names and product ids stored in lo…
May 7, 2017
88b4c53
minimum skeleton
habibridho May 7, 2017
3e690f1
nested navigation
habibridho May 7, 2017
09294dc
fix initial nav state bug
habibridho May 7, 2017
3ae6a4b
add lib and images packages
habibridho May 8, 2017
d5b93d4
navbar styling
habibridho May 9, 2017
dd5ad8c
cherry-picking branch habib
habibridho May 6, 2017
8d7a2eb
drawer styling
habibridho May 10, 2017
83eaafa
adjust brand color
habibridho May 10, 2017
572fb40
overview date header
habibridho May 10, 2017
69b8fb1
add title
habibridho May 10, 2017
18d01b7
Finished cherry-picking react-native experiment branch, please note …
fawwaz May 9, 2017
b83150a
added logo launcher by flaticon
fawwaz May 10, 2017
3accd25
add overview section
habibridho May 10, 2017
265db4d
Merge from local branch ‘trial-sqlite’
May 11, 2017
2760670
add login screen
habibridho May 12, 2017
710e6c0
navigation refactor
habibridho May 12, 2017
1b67e9d
nav and screen skeleton
habibridho May 12, 2017
51e4175
Initial implementation of helper classes for HTTP request and sqlite …
aldidoanta May 14, 2017
6427610
add user views by day section
habibridho May 14, 2017
5e8fa74
merge with develop
habibridho May 16, 2017
d8c336b
adjust styling for phone
habibridho May 16, 2017
0f3c1c1
add pie chart
habibridho May 16, 2017
2360745
add product view section
habibridho May 16, 2017
cc1edba
Revert " Finished cherry-picking react-native experiment branch, plea…
fawwaz May 9, 2017
0e5e12e
Merging with branch develop
fawwaz May 16, 2017
68b1f1c
Add method to get Stats based on productId, demonstrated in FragmentHome
aldidoanta May 19, 2017
5a9f4f1
finished with superagent
fawwaz May 19, 2017
69bf20c
Alter the request http method with axios
fawwaz May 19, 2017
60891f0
merge with fawwaz
habibridho May 20, 2017
f46a9eb
add login action
habibridho May 20, 2017
06fb9a4
implement login UI
habibridho May 20, 2017
d16813e
persisting redux store
habibridho May 20, 2017
4d4717e
try to fix merge with doanta
fawwaz May 20, 2017
812bd5a
implement date range
habibridho May 20, 2017
945e653
Add date_epoch to stats table
aldidoanta May 20, 2017
5d12f3d
progress revenue
habibridho May 20, 2017
2485043
Refactor methods for fetching data from cloud database, and inserting…
aldidoanta May 20, 2017
921cabd
Implement current workaround for duplicate data in 'stats' table: del…
aldidoanta May 20, 2017
d14a4aa
try to merge with doanta
fawwaz May 21, 2017
99279fe
fixing with habib merge
fawwaz May 21, 2017
c1da4e5
fixing with habib merge
fawwaz May 21, 2017
d47b536
show revenue data
habibridho May 21, 2017
fd4b8d7
finished rendering dashboard daily
fawwaz May 21, 2017
5e5981a
Fix merging with habib
fawwaz May 21, 2017
e4c8233
finished home dashboard
fawwaz May 22, 2017
2f87c8b
Auto stash before merge of "fawwaz" and "fawwaz-doanta"
fawwaz May 22, 2017
436789c
raw widget layouting
habibridho May 23, 2017
24fd213
Add market_[view,sold,interest]_[count,total] to stats table
aldidoanta May 23, 2017
9eb6a0d
Added UI Filter for Pricing
fawwaz May 23, 2017
0f729a7
widget layout skeleton
habibridho May 24, 2017
ac98a9b
Finished adding filter
fawwaz May 24, 2017
02be04f
Add changes from commit #c5beae5, adding example background service
fawwaz May 5, 2017
8b0608a
Set fetch data interval to one day
aldidoanta May 24, 2017
6d1eb50
use retrofit for api call
habibridho May 25, 2017
28b2733
Optimize import
aldidoanta May 25, 2017
533cce2
Try to Merge with Doanta's branch
fawwaz May 25, 2017
29adb76
delete Retrofit implementation
habibridho May 25, 2017
6729d77
pull some widget data using HTTP Helper
habibridho May 25, 2017
fc0f454
Fix doanta merge
fawwaz May 25, 2017
3cf4ba7
Finished bidding analysis screen
fawwaz May 25, 2017
b868114
delete unused function
habibridho May 25, 2017
b618833
release setup
habibridho May 25, 2017
84b0c79
Adding statusTag indicator in home screen
fawwaz May 26, 2017
15434b1
Merge branch 'doanta' into trial-widgetupdate
aldidoanta May 26, 2017
d2d12c5
Fix Pricing Api Call
fawwaz May 26, 2017
ac601bf
Added Loading Indicator
fawwaz May 26, 2017
102ac9a
implement complaint and nego widget
habibridho May 27, 2017
a57b90d
widget view done
habibridho May 27, 2017
df155ef
Merge branch 'fawwaz' into habib-fawwaz
habibridho May 27, 2017
e580080
add missing function from previos commit
habibridho May 27, 2017
06ebc9e
fix layout weighting bug in widget
habibridho May 27, 2017
08dbdd2
Add additional AlarmManager to update widget every 5 minutes
aldidoanta May 28, 2017
9d9edef
resolve conflict with doanta's branch
habibridho May 28, 2017
c1d7a3b
Merge branch 'doanta' into habib
habibridho May 28, 2017
d6fb37f
revenue data based on logged in user
habibridho May 28, 2017
047a879
fetch widget data based on logged in user
habibridho May 28, 2017
47c0c42
implement tap to refresh widget data
habibridho May 28, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
apply plugin: 'com.android.application'

project.extensions.react = [
root: "../"
]

apply from: "../node_modules/react-native/react.gradle"
apply from: "../node_modules/react-native-vector-icons/fonts.gradle"

Expand All @@ -13,24 +17,41 @@ android {
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
if (project.hasProperty('BUKA_ANALYTICS_STORE_FILE')) {
storeFile file(BUKA_ANALYTICS_STORE_FILE)
storePassword BUKA_ANALYTICS_STORE_PASSWORD
keyAlias BUKA_ANALYTICS_KEY_ALIAS
keyPassword BUKA_ANALYTICS_RELEASE_KEY_PASSWORD
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}

configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.0'
}
lintOptions {
checkReleaseBuilds false
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.koushikdutta.ion:ion:2.+'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:support-v4:25.3.1'
Expand Down
Binary file added app/bukaanalytics.keystore
Binary file not shown.
6 changes: 5 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<intent-filter>
<action android:name="AUTO_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/widget_info" />
</receiver>

<activity
android:name=".reactnative.MyReactActivity"
android:label="@string/app_name"
Expand All @@ -38,6 +41,7 @@
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />

<service
android:name=".common.BukaAnalyticsIntentService"
Expand Down
Loading