Skip to content

Commit

Permalink
docs(interface):update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshjain29 committed Jan 19, 2022
1 parent fb0362f commit 6f20485
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This React Native bridge supports React Native app builds with version `0.61.5`
- [Submit the results of the form](#submit-the-results-of-the-form)
- [Feedback submission callback](#feedback-submission-callback)
- [Custom Variables](#custom-variables)
- [Localization](#localization)
- [Installation steps for React Native without Auto-Linking](#installation-steps-for-react-native-without-auto-linking)
- [Android](#android-1)
- [iOS](#ios-1)
Expand Down Expand Up @@ -357,6 +358,23 @@ Trying to set an invalid object as a custom variable will result in that object

Custom variables are added as extra feedback data with every feedback item sent by the SDK, whether from a passive feedback or a campaign.

## Localization

For all the text that is not customizable in the web interface, you can provide your own translation using a .string localized file inside your application.

This file also includes all the accessibility labels read when VoiceOver is enabled.

### iOS

```
usabilla.loadLocalizedStringFile("YOUR_LOCALIZED_STRING_FILENAME'");
```

**NOTE**: This method accepts as parameter a valid String file name and available only for ios.
To read more about localisation in ios [follow here](https://github.com/usabilla/usabilla-u4a-ios-swift-sdk#localization)

To read more about localisation in android [follow here](https://github.com/usabilla/usabilla-u4a-android-sdk#localization)

## Installation steps for React Native without Auto-Linking

The installation of this SDK consists out of two parts, one part for your projects a whole and the second part for iOS(#ios) and Android(#android) specifically. To install the Usabilla SDK into your React Native Application:
Expand Down

0 comments on commit 6f20485

Please sign in to comment.