Xposed Detector

static library prefab to detect xposed and clear hooks.

License

License

GroupId

GroupId

io.github.vvb2060.ndk
ArtifactId

ArtifactId

xposeddetector
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

aar
Description

Description

Xposed Detector
static library prefab to detect xposed and clear hooks.
Project URL

Project URL

https://github.com/vvb2060/XposedDetector
Source Code Management

Source Code Management

https://github.com/vvb2060/XposedDetector

Download xposeddetector

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.vvb2060.ndk/xposeddetector/ -->
<dependency>
    <groupId>io.github.vvb2060.ndk</groupId>
    <artifactId>xposeddetector</artifactId>
    <version>2.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.vvb2060.ndk/xposeddetector/
implementation 'io.github.vvb2060.ndk:xposeddetector:2.2'
// https://jarcasting.com/artifacts/io.github.vvb2060.ndk/xposeddetector/
implementation ("io.github.vvb2060.ndk:xposeddetector:2.2")
'io.github.vvb2060.ndk:xposeddetector:aar:2.2'
<dependency org="io.github.vvb2060.ndk" name="xposeddetector" rev="2.2">
  <artifact name="xposeddetector" type="aar" />
</dependency>
@Grapes(
@Grab(group='io.github.vvb2060.ndk', module='xposeddetector', version='2.2')
)
libraryDependencies += "io.github.vvb2060.ndk" % "xposeddetector" % "2.2"
[io.github.vvb2060.ndk/xposeddetector "2.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Xposed Detector

static library prefab to detect xposed and clear hooks.

This library is based on the genuine.

Integration

Gradle:

implementation 'io.github.vvb2060.ndk:xposeddetector:2.2'

This library is Prefab, so you will need to enable it in your project (Android Gradle Plugin 4.1+):

android {
    ...
    buildFeatures {
        ...
        prefab true
    }
}

Usage

ndk-build

you can use xposed_detector in your Android.mk. For example, if your application defines libapp.so and it uses xposed_detector, your Android.mk file should include the following:

include $(CLEAR_VARS)
LOCAL_MODULE           := app
LOCAL_SRC_FILES        := app.cpp
LOCAL_STATIC_LIBRARIES := xposed_detector
include $(BUILD_SHARED_LIBRARY)

# If you don't need your project to build with NDKs older than r21, you can omit
# this block.
ifneq ($(call ndk-major-at-least,21),true)
    $(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH))
endif

$(call import-module,prefab/xposeddetector)

CMake

you can use xposed_detector in your CMakeLists.txt. For example, if your application defines libapp.so and it uses xposed_detector, your CMakeLists.txt file should include the following:

add_library(app SHARED app.cpp)

# Add these two lines.
find_package(xposeddetector REQUIRED CONFIG)
target_link_libraries(app xposeddetector::xposed_detector)

Sample application

Use the gradlew :app:iR command to install sample app, or download CI Artifacts.

Versions

Version
2.2