So this is the 2nd app I am trying to set up with Deploy. 1st app no problems. 2nd app I just can’t get it to work.
I linked the channel just like in the ionic tutorial and my package.json has the following:
"cordova-plugin-ionic": {
"APP_ID": "********",
"CHANNEL_NAME": "./branch.sh",
"UPDATE_METHOD": "auto",
"MAX_STORE": "2",
"MIN_BACKGROUND_DURATION": "30",
"UPDATE_API": "https://api.ionicjs.com"
},
branch.sh handles the channel name like this
if [ "$CI_GIT_REF" = "develop" ]; then
Develop
fi
if [ "$CI_GIT_REF" = "master" ]; then
Master
fi
I’ve searched far and wide across the internet but no luck.