diff --git a/README.md b/README.md index e43edea..920009d 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ * [`Hooking Unity3d`](https://github.com/iddoeldor/mplus) * [`Get Android ID`](#get-android-id) * [`Bypass FLAG_SECURE`](#bypass-flag_secure) +* [`Shared Preferences update`](#shared-preferences-update)
@@ -1013,6 +1014,24 @@ https://stackoverflow.com/a/54818023/2655092
[⬆ Back to top](#table-of-contents) +#### Shared Preferences update + +```javascript +function notifyNewSharedPreference() { + Java.use('android.app.SharedPreferencesImpl$EditorImpl').putString.overload('java.lang.String', 'java.lang.String').implementation = function(k, v) { + console.log('[SharedPreferencesImpl]', k, '=', v); + return this.putString(k, v); + } +} +``` + +
+Output example +TODO +
+ +
[⬆ Back to top](#table-of-contents) + #### iOS alert box