From 6fe71b3509ecb2e4800f88d81d88e503584656d2 Mon Sep 17 00:00:00 2001 From: Phu Hoang Date: Wed, 24 May 2023 21:53:20 +0700 Subject: [PATCH] Correct IOS detection definitions --- ios/Plugin/CapacitorJailbreakRootDetectionPlugin.m | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ios/Plugin/CapacitorJailbreakRootDetectionPlugin.m b/ios/Plugin/CapacitorJailbreakRootDetectionPlugin.m index bad101b..60d5525 100644 --- a/ios/Plugin/CapacitorJailbreakRootDetectionPlugin.m +++ b/ios/Plugin/CapacitorJailbreakRootDetectionPlugin.m @@ -5,4 +5,6 @@ // each method the plugin supports using the CAP_PLUGIN_METHOD macro. CAP_PLUGIN(CapacitorJailbreakRootDetectionPlugin, "CapacitorJailbreakRootDetection", CAP_PLUGIN_METHOD(isJailbrokenOrRooted, CAPPluginReturnPromise); + CAP_PLUGIN_METHOD(isSimulator, CAPPluginReturnPromise); + CAP_PLUGIN_METHOD(isDebuggedMode, CAPPluginReturnPromise); ) diff --git a/package.json b/package.json index a3f6baa..189865e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@evehr/capacitor-jailbreak-root-detection", - "version": "4.0.0", + "version": "4.0.1", "description": "Jailbreak Root detection plugin for capacitor.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js",