Skip to content

Commit

Permalink
Merge pull request #1594 from minvws/remove-camera-permission
Browse files Browse the repository at this point in the history
Remove camera permission
  • Loading branch information
Rool authored Jul 31, 2023
2 parents 975a9a3 + 8108816 commit 0e76917
Show file tree
Hide file tree
Showing 41 changed files with 10 additions and 2,380 deletions.
1 change: 0 additions & 1 deletion holder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ dependencies {
implementation project(":introduction")
implementation project(":api")
implementation project(':mobilecore')
implementation project(":qrscanner")
implementation project(":modules:luhncheck")
implementation project(":modules:qrgenerator")
implementation project(":modules:openidconnect")
Expand Down
5 changes: 0 additions & 5 deletions holder/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />

<uses-feature
android:name="android.hardware.camera"
android:required="false" />

<application
android:name=".HolderApplication"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import nl.rijksoverheid.ctr.introduction.introductionModule
import nl.rijksoverheid.ctr.persistence.database.HolderDatabase
import nl.rijksoverheid.ctr.persistence.database.entities.WalletEntity
import nl.rijksoverheid.ctr.persistence.database.usecases.RemoveCTBUseCase
import nl.rijksoverheid.ctr.qrscanner.qrScannerModule
import nl.rijksoverheid.ctr.shared.MobileCoreWrapper
import nl.rijksoverheid.ctr.shared.SharedApplication
import nl.rijksoverheid.ctr.shared.sharedModule
Expand Down Expand Up @@ -77,7 +76,6 @@ open class HolderApplication : SharedApplication(), Configuration.Provider {
errorsModule(BuildConfig.FLAVOR),
retrofitModule(BuildConfig.BASE_API_URL, BuildConfig.CDN_API_URL),
responsesModule,
qrScannerModule,
fuzzyMatchingModule,
dashboardModule
).toTypedArray()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ class HolderMainFragment : Fragment(R.layout.fragment_main) {
requireActivity().onBackPressedDispatcher.onBackPressed()
return@setNavigationOnClickListener
}
R.id.nav_data_migration_instructions -> {
// Trigger custom dispatcher in destination
requireActivity().onBackPressedDispatcher.onBackPressed()
return@setNavigationOnClickListener
}
}

NavigationUI.navigateUp(navController, null)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0e76917

Please sign in to comment.