Skip to content

Commit

Permalink
updated version to 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AvoSukiasyan committed Sep 26, 2023
1 parent ea36e14 commit c508576
Show file tree
Hide file tree
Showing 7 changed files with 1,156 additions and 992 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ dependencies {
// https://github.com/facebook/react-native/blob/0.61-stable/template/android/app/build.gradle#L192
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+' // From node_modules
implementation 'com.metamap:android-sdk:3.35.0'
implementation 'com.metamap:android-sdk:3.36.0'
}
9 changes: 8 additions & 1 deletion docs/metaMap-reactNative.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ category: 61ae8e8dba577a0010791480

| LTS version (Recommended for most users): | Current Version(Latest features) |
|-------------------------------------------|----------------------------------|
| 5.1.0 | 5.0.3 |
| 5.1.1 | 5.1.1 |


## Install MetaMap for React Native
Expand Down Expand Up @@ -188,6 +188,13 @@ metadata: {"identityId": "value"}
metaData: ["encryptionConfigurationId": "value"]
```
### Set customization fonts as parameter.
to add custom fonts, the project needs to have these font files, otherwise SDK will use default fonts:
```bash
metadata: ["regularFont": "REGULAR_FONT_NAME.ttf", "boldFont": "BOLD_FONT_NAME.ttf"]
```
## Some error codes you may get during integration
`402` - MetaMap services are not paid: please contact your customer success manager
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-metamap-sdk",
"title": "React Native MetaMap Id Sdk",
"version": "5.1.0",
"version": "5.1.1",
"description": "Mati React Nastive Plugin",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion react-native-metaMap-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.dependency "React"
s.dependency 'MetaMapSDK', "~> 3.15.6"
s.dependency 'MetaMapSDK', "~> 3.16.1"
# s.dependency "..."
end

Binary file added react-native-metamap-sdk-v5.1.1.tgz
Binary file not shown.
2,129 changes: 1,143 additions & 986 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit c508576

Please sign in to comment.