We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da60c85 commit a32b98cCopy full SHA for a32b98c
Examples/OneSignalDemo/app/src/main/java/com/onesignal/sdktest/model/MainActivityViewModel.java
@@ -780,8 +780,7 @@ private void setupLocationSharedSwitch() {
780
781
private void setupPromptLocationButton() {
782
promptLocationButton.setOnClickListener(v -> {
783
- OneSignal.getUser().setLanguage("es");
784
-// OneSignal.getLocation().requestPermission(true, Continue.none());
+ OneSignal.getLocation().requestPermission(true, Continue.none());
785
});
786
}
787
0 commit comments