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
Pushing Android *and* iOS versions #569
Comments
Hi @mikelambert, apologies for the confusion here. To clarify - our recommended guidance is to make separate apps for each platform (i.e.
Does this help? We've tried to make this guidance clear (to have separate apps for each platform) in our docs, but as always there may still be room for improvement. If you have any suggestions, please let us know! |
Ahh, using a separate app per-platform is a great idea, thanks! I didn't see this mentioned in the documentation anywhere. They only mention stuff like: Same with the react-native doc, though it does at least have one place where it mentions |
Ahh, I see what we missed! I remember adding that guideline somewhere in the getting started, but yes, we should really make it clear in the examples. Thank you! |
I've updated the GitHub docs, the docs on the website will be updated later. Thanks :) |
I think the guideline should make it even more clear to state the reasons and consequences or make it an absolute must. Because I took it as a recommendation and now my app has been published and everything is too late :( |
Hi @krizpoon, understand your concern here, could you please help us to improve the docs:
Should we just use something like |
I'm a bit confused about the push model, and can't find the answers in the docs, so apologies for using the issue tracker here.
Using
code-push release-react MyApp XXX
, I can push android or iOS. When I then checkcode-push deployments list MyApp
, I can see the build I've just released, targeting the relevant versions. But the deployments don't list Android or iOS anywhere, which leaves me confused.If I
code-push release-react MyApp ios -t version
, does that targetversion
on Android and iOS, or just iOS. I presume just iOS.Does it target iOS by only distributing
index.ios.bundle
, such that Android continues to fall back to its older in-apk bundle on disk? I presume it's something like this, because that allows the-t
version targeting anddeployments list
to remain platform-unaware.At this point, how do I release builds to iOS and Android? Doesn't each build I push out targeting an app version supercede the previous ones? (ie, I can't see any old version patches in my
code-push deployments list MyApp
) Is there a way to release bothindex.ios.bundle
andindex.android.bundle
simultaneously?And does that mean I should continue keeping my Android and iOS versions consistent with each other, such that if I need to target a build via
-t
, it will target across both platforms? (Versus having 1.0.7 mean something different on iOS vs Android, making JS targeting difficult given their potentially different native libraries that back their JS.)Thanks!
The text was updated successfully, but these errors were encountered: