Skip to content

Commit

Permalink
Fix localization backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
appupgrade-dev committed Jan 15, 2023
1 parent 25af381 commit 9ca78e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes will be documented in this file.

## [1.0.9] - 2023-01-16

* Fix localization backward compatibility.

## [1.0.8] - 2023-01-16

* Add support for update message localization.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-upgrade-react-native-sdk",
"version": "1.0.8",
"version": "1.0.9",
"description": "app upgrade react-native sdk",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import axios from "axios";
async function checkVersionWithAppUpgrade(appInfo, xApiKey) {
try {
const appUpgradeBaseUrl = "https://appupgrade.dev";
const { appName, appVersion, platform, environment } = appInfo;
const { appName, appVersion, platform, environment, appLanguage } = appInfo;

const response = await axios.get(
`${appUpgradeBaseUrl}/api/v1/versions/check?app_name=${appName}&app_version=${appVersion}&platform=${platform}&environment=${environment}&app_language=${app_language}`,
`${appUpgradeBaseUrl}/api/v1/versions/check?app_name=${appName}&app_version=${appVersion}&platform=${platform}&environment=${environment}&app_language=${appLanguage}`,
{
headers: {
"x-api-key": xApiKey,
Expand Down

0 comments on commit 9ca78e3

Please sign in to comment.