Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 0657975

Browse files
ruslan-bikkininMax
authored andcommitted
[Docs] Update docs with setDeploymentKey method (#1117)
1 parent 6acd21d commit 0657975

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api-android.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ As an alternative to constructors *you can also use `CodePushBuilder`* to setup
4747

4848
* __public CodePush build()__ - return configured `CodePush` instance.
4949

50+
##### Public Methods
51+
52+
- __setDeploymentKey(String deploymentKey)__ - Sets the deployment key that the app should use when querying for updates. This is a dynamic alternative to setting the deployment key in Codepush constructor/builder and/or specifying a deployment key in JS when calling `checkForUpdate` or `sync`.
53+
5054
##### Static Methods
5155

5256
- __getBundleUrl()__ - Returns the path to the most recent version of your app's JS bundle file, assuming that the resource name is `index.android.bundle`. If your app is using a different bundle name, then use the overloaded version of this method which allows specifying it. This method has the same resolution behavior as the Objective-C equivalent described above.

0 commit comments

Comments
 (0)