Skip to content

Commit 18102ef

Browse files
committed
remove not needed product db update in sample apps
1 parent 1eebc29 commit 18102ef

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

kotlin-customization-sample/src/main/java/io/snabble/sdk/customization/LoadingActivity.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ class LoadingActivity : AppCompatActivity() {
2929
// to use geofencing
3030
Snabble.checkedInShop = project.shops.first()
3131

32-
// this is done on the background and can be done at any time
33-
// a fully downloaded product database allows for scanning products while
34-
// being offline
35-
//
36-
// if the product database is still downloading or you did not call update()
37-
// online request will be used in the mean time
38-
project.productDatabase.update()
39-
4032
startActivity(Intent(this@LoadingActivity, MainActivity::class.java))
4133
finish()
4234
}

kotlin-sample/src/main/java/io/snabble/sdk/sample/LoadingActivity.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ class LoadingActivity : AppCompatActivity() {
3030
// to use geofencing
3131
Snabble.checkedInShop = project.shops.first()
3232

33-
// this is done on the background and can be done at any time
34-
// a fully downloaded product database allows for scanning products while
35-
// being offline
36-
//
37-
// if the product database is still downloading or you did not call update()
38-
// online request will be used in the mean time
39-
project.productDatabase.update()
40-
4133
startActivity(Intent(this@LoadingActivity, MainActivity::class.java))
4234
finish()
4335
}

0 commit comments

Comments
 (0)