Skip to content

Commit

Permalink
* Consumption Reporting - Generating the reportingClientId-issue #57:…
Browse files Browse the repository at this point in the history
… GPSI
  • Loading branch information
Shilin Ding committed Nov 24, 2023
1 parent 7ea312d commit 98d6770
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ class MainActivity : AppCompatActivity(), AdapterView.OnItemSelectedListener {
requestPermissionLauncher.launch(
Manifest.permission.ACCESS_FINE_LOCATION
)
} else if(ActivityCompat.checkSelfPermission(
this,
Manifest.permission.READ_PHONE_NUMBERS
) != PackageManager.PERMISSION_GRANTED
) {
requestPermissionLauncher.launch(
Manifest.permission.READ_PHONE_NUMBERS
)
} else {
initialize()
}
Expand Down

0 comments on commit 98d6770

Please sign in to comment.