mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-03 14:40:54 +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.
|
* @param {strings} key Key of string to override.
|
||||||
*/
|
*/
|
||||||
@ReactMethod
|
@ReactMethod
|
||||||
public void setStringToKey(String string, String key) {
|
public void setString(String string, String key) {
|
||||||
try {
|
try {
|
||||||
placeHolders.set(getStringToKeyConstant(key), string);
|
placeHolders.set(getStringToKeyConstant(key), string);
|
||||||
Instabug.setCustomTextPlaceHolders(placeHolders);
|
Instabug.setCustomTextPlaceHolders(placeHolders);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user