-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
question: how to use dexcalibur as library? #22
Comments
I started to develop Dexcalibur as NPM library. So, you can perform everything from a script or node terminal. I assume you have already configured your
At this step, web server is not started. You can explore application and generate hook. (i will give you more information asap doc) Search can be performed by invoking 1/ First: to list all methods enclosed into a class where FQCN match the regexp .TelephonyManager.
Next you can select an entry by its ID (1st column from left side), and generate a hook. If you would like hook getDeviceID (entry 7), then you can execute:
At this point a new hook has been created. Now you can spawn/attach to appp and start "hooking".
|
Actually, the better solution is perhaps to create your own Inspector if you want give the control on what happens into Dexcalibur when a hook message is receipt by the HookManager |
I'm still a novice in Dexcalibur, and don't know how to write my own inspectors, but I look forward
to being able to do it.
|
Thanks a lot for the information. Thanks to this, I confirm I can:
FYI I ported this info into https://github.com/FrenchYeti/dexcalibur-doc/blob/master/CLI-User-guide.md#dexcalibur-as-a-library |
Hi @FrenchYeti
|
Hey @monperrus , sorry for this late reply. Please accept my apologies: latest refactoring (>=0.7) breaks this feature. However, I fully rewrote Dexcalibur engine and UI and plan to release it this winter. So, Dexcalibur API will be available again, and documented. |
Cool, looking forward to it!
|
Right now, I'm using Dexcalibur with a single command + browser.
To get access to more features, I need to use it as a library.
What's the equivalent of
./dexcalibur --app=com.myapp --pull
in a library setting?(I volunteer to port the answer in dexcalibu-doc afterwards)
The text was updated successfully, but these errors were encountered: