This document describes how to start test env for pre hook example. This document expects that you have basic knowledge of Zapp. Zapp Documentation
- In Zapp select your application.
- Go to section
App Builder - Select your
Layoutconfiguration - Push button
Add Screenand selectPrehook Example Hook Screenin pop-up window, change name on your wish. - Select a screen where do you want to add prehook (in future
Hostscreen). - In the right side of screen settings, click on
Before loadsection - In the list select name of the
Prehook Example Hook Screenor your name if you changed it. Another option you can selectPrehook Examplethat is notscreen pluginfor more information readPrehooks PluginDocumentation. - Make sure that your
hostscreen was added as part of root navigation. - Push
Savebutton in top left corner. - Push on your app name that will transfer you to
application versions screen
- Push on
versionbutton of the app that you want to use iniOStab and copy applicationIDwith copy button - Clone Zapp-iOS project
- Use Explanation how to prepare working env.
- Push on
External developerbutton of the app that you want to use iniOStab that will download preparedZapp-iOSproject for selected app and version.
- Clone PreHookExample-iOS project to your path (in future
PreHookExamplePath) - In
Zapp-iOSfolder openPodfileand find:pod 'PrehookExample', '~> version_number'and replace with:pod 'PrehookExample', :path => 'PreHookExamplePath' - In the terminal of
Zapp-iOSfolder pushpod updateand wait - Build your app.
After application will be presenting, select Host screen, before this screen will be open you must see Prehook screen.
