Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added arg jailbroken method to allow for disabling RootBeer logging #42

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
bpyke1: fixed argument ref
barrett.pyke committed Mar 27, 2023
commit 3c96c2fdbff6055f1f32f878ff6fbfa2f6b13645
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ class FlutterJailbreakDetectionPlugin : FlutterPlugin, MethodCallHandler {
override fun onMethodCall(call: MethodCall, result: Result): Unit {
if (call.method.equals("jailbroken")) {
val rootBeer = RootBeer(context)
val setLogging = call.method.arguments.setLogging
val setLogging = call.argument<Boolean>("setLogging")
rootBeer.setLogging(setLogging)
result.success(rootBeer.isRooted)
} else if (call.method.equals("developerMode")) {