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
Layout
configuration - Push button
Add Screen
and selectPrehook Example Hook Screen
in pop-up window, change name on your wish. - Select a screen where do you want to add prehook (in future
Host
screen). - In the right side of screen settings, click on
Before load
section - In the list select name of the
Prehook Example Hook Screen
or your name if you changed it. Another option you can selectPrehook Example
that is notscreen plugin
for more information readPrehooks Plugin
Documentation. - Make sure that your
host
screen was added as part of root navigation. - Push
Save
button in top left corner. - Push on your app name that will transfer you to
application versions screen
- Push on
version
button of the app that you want to use iniOS
tab and copy applicationID
with copy button - Clone Zapp-iOS project
- Use Explanation how to prepare working env.
- Push on
External developer
button of the app that you want to use iniOS
tab that will download preparedZapp-iOS
project for selected app and version.
- Clone PreHookExample-iOS project to your path (in future
PreHookExamplePath
) - In
Zapp-iOS
folder openPodfile
and find:pod 'PrehookExample', '~> version_number'
and replace with:pod 'PrehookExample', :path => 'PreHookExamplePath'
- In the terminal of
Zapp-iOS
folder pushpod update
and wait - Build your app.
After application will be presenting, select Host
screen, before this screen will be open you must see Prehook screen
.