Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Conversation

@MichielVrins
Copy link
Contributor

We use an internal api generated by Pigeon to communicate with the native side. This api should not be directly exposed to our users as we might want to do some extra processing.

This commit makes that api private.

We use an internal api generated by Pigeon to communicate with the
native side. This api should not be directly exposed to our users as we
might want to do some extra processing.

This commit makes that api private.
@SuppressWarnings({ "unused", "WeakerAccess" })
public final class SecurityController {
public static final boolean rootDetection = false;
public static final boolean debugDetection = false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can also add
public static final boolean debugLogs = true;
if we want to make devs life easier. We do that in our example app https://github.com/onewelcome/example-app-android/blob/master/app/src/main/java/com/onegini/mobile/exampleapp/SecurityController.java

@MichielVrins MichielVrins merged commit e9bfd9f into develop May 25, 2023
@MichielVrins MichielVrins deleted the hide_internal_api branch May 25, 2023 12:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants