Open realgam3 opened 3 months ago
Don't expect anyone to work on this. You can try to implement it at mkdex.js + class-factory.js and make a PR. If there's an existing class in your process with this signature I would recommend to hook/modify the functions and create a new instance of it. Alternatively you compile your class to a dex and use a dex class loader
Here's an example code in java to add Dialog function as JavaScript Interface to a WebView:
Everything in this code can be written with frida except using the annotation "@JavascriptInterface", without the "@JavascriptInterface" annotation the Dialog function will not be available in the WebView...