apps-sdk 1.1.63 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/libraries/Session.js +4 -0
- package/types/index.d.ts +1 -0
package/package.json
CHANGED
package/src/libraries/Session.js
CHANGED
|
@@ -231,6 +231,10 @@ class Session {
|
|
|
231
231
|
getDeviceLanguageAndRegion = () => {
|
|
232
232
|
return Localization.getLocales()[0].languageCode + '-' + Localization.getLocales()[0].regionCode;
|
|
233
233
|
}
|
|
234
|
+
|
|
235
|
+
getAppVersion = () => {
|
|
236
|
+
return this.sessionData.app.shortVersion || '';
|
|
237
|
+
}
|
|
234
238
|
}
|
|
235
239
|
|
|
236
240
|
export default new Session();
|