mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-02 22:20:49 +00:00
🤝 Merge pull request #81 from alliannas/fix-string-to-key
Fixes setString method name for android
This commit is contained in:
commit
2650bb816f
@ -815,7 +815,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
|
||||
* @param {strings} key Key of string to override.
|
||||
*/
|
||||
@ReactMethod
|
||||
public void setStringToKey(String string, String key) {
|
||||
public void setString(String string, String key) {
|
||||
try {
|
||||
placeHolders.set(getStringToKeyConstant(key), string);
|
||||
Instabug.setCustomTextPlaceHolders(placeHolders);
|
||||
|
Loading…
x
Reference in New Issue
Block a user