Skip to content

Commit c508576

Browse files
committed
updated version to 5.1.1
1 parent ea36e14 commit c508576

File tree

7 files changed

+1156
-992
lines changed

7 files changed

+1156
-992
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ dependencies {
5757
// https://github.com/facebook/react-native/blob/0.61-stable/template/android/app/build.gradle#L192
5858
//noinspection GradleDynamicVersion
5959
implementation 'com.facebook.react:react-native:+' // From node_modules
60-
implementation 'com.metamap:android-sdk:3.35.0'
60+
implementation 'com.metamap:android-sdk:3.36.0'
6161
}

docs/metaMap-reactNative.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ category: 61ae8e8dba577a0010791480
88

99
| LTS version (Recommended for most users): | Current Version(Latest features) |
1010
|-------------------------------------------|----------------------------------|
11-
| 5.1.0 | 5.0.3 |
11+
| 5.1.1 | 5.1.1 |
1212

1313

1414
## Install MetaMap for React Native
@@ -188,6 +188,13 @@ metadata: {"identityId": "value"}
188188
metaData: ["encryptionConfigurationId": "value"]
189189
```
190190
191+
192+
### Set customization fonts as parameter.
193+
to add custom fonts, the project needs to have these font files, otherwise SDK will use default fonts:
194+
```bash
195+
metadata: ["regularFont": "REGULAR_FONT_NAME.ttf", "boldFont": "BOLD_FONT_NAME.ttf"]
196+
```
197+
191198
## Some error codes you may get during integration
192199
193200
`402` - MetaMap services are not paid: please contact your customer success manager

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-metamap-sdk",
33
"title": "React Native MetaMap Id Sdk",
4-
"version": "5.1.0",
4+
"version": "5.1.1",
55
"description": "Mati React Nastive Plugin",
66
"main": "index.js",
77
"scripts": {

react-native-metaMap-sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
2020
s.requires_arc = true
2121

2222
s.dependency "React"
23-
s.dependency 'MetaMapSDK', "~> 3.15.6"
23+
s.dependency 'MetaMapSDK', "~> 3.16.1"
2424
# s.dependency "..."
2525
end
2626

279 KB
Binary file not shown.

yarn.lock

Lines changed: 1143 additions & 986 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)