rampkit-expo-dev 0.0.22 → 0.0.23

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.
@@ -124,15 +124,15 @@ public class RampKitModule: Module {
124
124
  "deviceName": device.model,
125
125
  "isSimulator": isSimulator(),
126
126
 
127
- // Locale
128
- "deviceLanguageCode": locale.language.languageCode?.identifier,
127
+ // Locale (using legacy APIs for iOS 13+ compatibility)
128
+ "deviceLanguageCode": locale.languageCode,
129
129
  "deviceLocale": locale.identifier,
130
- "regionCode": locale.region?.identifier,
130
+ "regionCode": locale.regionCode,
131
131
  "preferredLanguage": locales.first,
132
132
  "preferredLanguages": locales,
133
133
 
134
134
  // Currency
135
- "deviceCurrencyCode": locale.currency?.identifier,
135
+ "deviceCurrencyCode": locale.currencyCode,
136
136
  "deviceCurrencySymbol": locale.currencySymbol,
137
137
 
138
138
  // Timezone
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rampkit-expo-dev",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "The Expo SDK for RampKit. Build, test, and personalize app onboardings with instant updates.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",