microsoft / code-push-server

Standalone CodePush server from App Center
MIT License
605 stars 157 forks source link

Azure code push server to be used for multiple different react native apps? #46

Open jerinjohnk opened 6 days ago

jerinjohnk commented 6 days ago

We created a Resource Group and deployed api folder to Azure for the codepush server. I can add android and ios apps here using

code-push-standalone app add

Now, we have different apps in our organization that require this codepush server setup. Would you suggest 1) We should create different groups for each RN App with codepush server setup- so it's easier to delete them if needed. Or 2) Add these different apps to the same resource; if so, how can we manage later once we require the deletion of an app and its uploaded builds? The below code will delete the app, but will it also delete its associated packages?

code-push-standalone collaborator rm

Please let me know if I am on the right track. If we opt for the second method, the email used to access the resource can be considered the admin. The admin can add all apps to the resource. Then, they can add collaborators to each app to access their particular app. So, are collaborators assigned admin roles? Can they delete the app?