Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.nativeapptemplate.nativeapptemplatefree

object NatConstants {
const val SUPPORT_MAIL: String = "[email protected]"
const val HOW_TO_USE_URL: String = "https://myturntag.com/how"
const val SUPPORT_WEBSITE_URL: String = "https://nativeapptemplate.com"
const val DISCUSSIONS_URL: String = "https://github.com/nativeapptemplate/NativeAppTemplate-Free-Android/discussions"
const val PRIVACY_POLICY_URL: String = "https://nativeapptemplate.com/privacy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal fun OnboardingView(
val fontSizeLarge = 24
val lineHeightLarge = 26
val pagerState = rememberPagerState(pageCount = {
3
13
})

Scaffold(
Expand Down Expand Up @@ -144,10 +144,10 @@ private fun TopAppBar(
},
navigationIcon = {
TextButton(
onClick = { context.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(NatConstants.SUPPORT_WEBSITE_URL))) },
onClick = { context.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(NatConstants.HOW_TO_USE_URL))) },
) {
Text(
stringResource(R.string.support_website),
stringResource(R.string.how_to_use),
)
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ class OnboardingViewModel @Inject constructor(
0 -> R.string.onboarding_description1
1 -> R.string.onboarding_description2
2 -> R.string.onboarding_description3
3 -> R.string.onboarding_description4
4 -> R.string.onboarding_description5
5 -> R.string.onboarding_description6
6 -> R.string.onboarding_description7
7 -> R.string.onboarding_description8
8 -> R.string.onboarding_description9
9 -> R.string.onboarding_description10
10 -> R.string.onboarding_description11
11 -> R.string.onboarding_description12
12 -> R.string.onboarding_description13
else -> R.string.onboarding_description1
}

Expand All @@ -25,6 +35,16 @@ class OnboardingViewModel @Inject constructor(
0 -> R.drawable.ic_overview1
1 -> R.drawable.ic_overview2
2 -> R.drawable.ic_overview3
3 -> R.drawable.ic_overview4
4 -> R.drawable.ic_overview5
5 -> R.drawable.ic_overview6
6 -> R.drawable.ic_overview7
7 -> R.drawable.ic_overview8
8 -> R.drawable.ic_overview9
9 -> R.drawable.ic_overview10
10 -> R.drawable.ic_overview11
11 -> R.drawable.ic_overview12
12 -> R.drawable.ic_overview13
else -> R.drawable.ic_overview1
}

Expand Down
Binary file modified app/src/main/res/drawable/ic_overview1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable/ic_overview1_slim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable/ic_overview2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable/ic_overview3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_overview9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 14 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,19 @@
<string name="terms_of_use_updated">Terms of Use Updated</string>

<!-- On-boarding -->
<string name="onboarding_description1">Onboarding description1.</string>
<string name="onboarding_description2">Onboarding description2.</string>
<string name="onboarding_description3">Onboarding description3.</string>
<string name="onboarding_description1">A Server Tag and a Customer Tag are NFCs.</string>
<string name="onboarding_description2">The staff gives the Customer Tag to the customer.</string>
<string name="onboarding_description3">The customer scans the Customer Tag or the Customer QR code.</string>
<string name="onboarding_description4">The customer can view the Number Tags Webpage on his mobile browser.</string>
<string name="onboarding_description5">The staff is cooking KILITANPOs.</string>
<string name="onboarding_description6">The staff completed cooking KILITANPOs. The staff scans the Server Tag.</string>
<string name="onboarding_description7">Tag completed with Background Tag Reading.</string>
<string name="onboarding_description8">If you do not want to scan, you can complete the tag by swiping the tag(Shops > [Shop]).</string>
<string name="onboarding_description9">Number Tags Webpage displays the completed number tag.</string>
<string name="onboarding_description10">The customer\'s Number Tags Webpage updated.</string>
<string name="onboarding_description11">The customer\'s Number Tags Webpage displays the completed Customer Tag(A07).</string>
<string name="onboarding_description12">The customer returns the Customer Tag.</string>
<string name="onboarding_description13">The customer finally got the delicious KILITANPO!</string>

<!-- Shops Screen -->
<string name="add_shop">Add Shop</string>
Expand Down Expand Up @@ -96,6 +106,7 @@
<string name="my_account">My Account</string>
<string name="profile">Profile</string>
<string name="information">Information</string>
<string name="how_to_use">How To Use</string>
<string name="support_website">Support Website</string>
<string name="faqs">FAQs</string>
<string name="discussions">Discussions</string>
Expand Down