Closed niftytyro closed 1 year ago
why different use codepushKey ??
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
Steps to Reproduce
strings.xml
, give a random deployment key, in my case -'This is set in JS'
checkFrequency
toMANUAL
.sync()
with the appropriate deployment key at a later stage in the app.Expected Behavior
It should make a network call to check for updates where
sync()
is called.Actual Behavior
It makes multiple network calls. One call is made at a later stage where
sync()
is defined and uses the correct deployment key. But initially, 2 extra network calls are made tohttps://codepush.appcenter.ms/v0.1/public/codepush/report_status/deploy
with the wrong deployment key. They use the'This is set in JS'
deployment key instead of the one set in codepush options in JS. This means that these calls are probably being made before even my RN activity boots up. So I have 2 questions:Environment