Skip to content

Commit

Permalink
Release 2.0.154
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and Jenkins committed Jan 20, 2022
1 parent 1638beb commit bec0626
Show file tree
Hide file tree
Showing 21 changed files with 55 additions and 37 deletions.
Binary file modified Applanga.framework/Applanga
Binary file not shown.
Binary file modified Applanga.framework/Info.plist
Binary file not shown.
6 changes: 3 additions & 3 deletions Applanga.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"2.0.140": "https://github.com/applanga/sdk-ios/releases/download/2.0.140/Applanga.framework.zip",
"2.0.126": "https://github.com/applanga/sdk-ios/releases/download/2.0.126/Applanga.framework.zip",
"2.0.127": "https://github.com/applanga/sdk-ios/releases/download/2.0.127/Applanga.framework.zip",
"2.0.122": "https://github.com/applanga/sdk-ios/releases/download/2.0.122/Applanga.framework.zip",
"2.0.145": "https://github.com/applanga/sdk-ios/releases/download/2.0.145/Applanga.framework.zip",
Expand All @@ -8,18 +8,18 @@
"2.0.149": "https://github.com/applanga/sdk-ios/releases/download/2.0.149/Applanga.framework.zip",
"2.0.128": "https://github.com/applanga/sdk-ios/releases/download/2.0.128/Applanga.framework.zip",
"2.0.129": "https://github.com/applanga/sdk-ios/releases/download/2.0.129/Applanga.framework.zip",
"2.0.109": "https://github.com/applanga/sdk-ios/releases/download/2.0.109/Applanga.framework.zip",
"2.0.126": "https://github.com/applanga/sdk-ios/releases/download/2.0.126/Applanga.framework.zip",
"2.0.115": "https://github.com/applanga/sdk-ios/releases/download/2.0.115/Applanga.framework.zip",
"2.0.114": "https://github.com/applanga/sdk-ios/releases/download/2.0.114/Applanga.framework.zip",
"2.0.120": "https://github.com/applanga/sdk-ios/releases/download/2.0.120/Applanga.framework.zip",
"2.0.113": "https://github.com/applanga/sdk-ios/releases/download/2.0.113/Applanga.framework.zip",
"2.0.121": "https://github.com/applanga/sdk-ios/releases/download/2.0.121/Applanga.framework.zip",
"2.0.112": "https://github.com/applanga/sdk-ios/releases/download/2.0.112/Applanga.framework.zip",
"2.0.110": "https://github.com/applanga/sdk-ios/releases/download/2.0.110/Applanga.framework.zip",
"2.0.140": "https://github.com/applanga/sdk-ios/releases/download/2.0.140/Applanga.framework.zip",
"2.0.153": "https://github.com/applanga/sdk-ios/releases/download/2.0.153/Applanga.framework.zip",
"2.0.152": "https://github.com/applanga/sdk-ios/releases/download/2.0.152/Applanga.framework.zip",
"2.0.151": "https://github.com/applanga/sdk-ios/releases/download/2.0.151/Applanga.framework.zip",
"2.0.154": "https://github.com/applanga/sdk-ios/releases/download/2.0.154/Applanga.framework.zip",
"2.0.139": "https://github.com/applanga/sdk-ios/releases/download/2.0.139/Applanga.framework.zip",
"2.0.118": "https://github.com/applanga/sdk-ios/releases/download/2.0.118/Applanga.framework.zip",
"2.0.131": "https://github.com/applanga/sdk-ios/releases/download/2.0.131/Applanga.framework.zip",
Expand Down
4 changes: 2 additions & 2 deletions Applanga.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "Applanga"
s.version = "2.0.153"
s.version = "2.0.154"
s.summary = "This is the Applanga SDK"
s.homepage = "http://applanga.com"
s.license = { :type => 'Commercial', :file => 'LICENSE' }
s.author = { "Mbaas Development GmbH" => "developer@applanga.com" }
s.source = { :git => "https://github.com/applanga/sdk-ios.git", :tag => "2.0.153" }
s.source = { :git => "https://github.com/applanga/sdk-ios.git", :tag => "2.0.154" }
s.library = 'sqlite3', 'z'
s.vendored_frameworks = ""
s.requires_arc = true
Expand Down
40 changes: 20 additions & 20 deletions Applanga.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,29 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>Applanga.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>watchos-arm64_i386_x86_64-simulator</string>
<string>watchos-arm64_32_armv7k</string>
<key>LibraryPath</key>
<string>ApplangaWatchOS.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>arm64_32</string>
<string>armv7k</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand All @@ -51,29 +45,35 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>watchos-arm64_32_armv7k</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ApplangaWatchOS.framework</string>
<string>Applanga.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64_32</string>
<string>armv7k</string>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>watchos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>watchos-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Applanga.framework</string>
<string>ApplangaWatchOS.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>watchos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file modified Applanga.xcframework/ios-arm64_armv7/Applanga.framework/Applanga
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</data>
<key>Info.plist</key>
<data>
2dpi3ZON0swoWWLCYGTrlPr6ntE=
Yr/7vha99NGdzPFyFMvahcLaX1k=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified ApplangaOSX.framework/ApplangaOSX
Binary file not shown.
Binary file modified ApplangaOSX.framework/Versions/A/ApplangaOSX
Binary file not shown.
Binary file modified ApplangaOSX.framework/Versions/Current/ApplangaOSX
Binary file not shown.
Binary file modified ApplangaWatchOS.framework/ApplangaWatchOS
Binary file not shown.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
*Applanga iOS Documentation:* <https://www.applanga.com/docs-integration/ios>
***

### Version 2.0.153 (17 Dec 2021)
### Version 2.0.154 (20 Jan 2022)
#### ADDED
- support for placeholder conversion with relative android placeholder such as `%1$tm` `%<te`

### Version 2.0.153 (17 Dec 2021)
#### ADDED
- renamed params for captureScreenshotWithTag and localizedStringForKey to match the apple naming guidelines and deprecated old ones
- Applanga setLanguageAndUpdate()
Expand Down
35 changes: 25 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Applanga SDK for iOS Localization
***
*Version:* 2.0.153
*Version:* 2.0.154

*Website:* <https://www.applanga.com>

Expand Down Expand Up @@ -453,7 +453,7 @@ Besides the Basic usage Applanga offers support for ***named arguments*** in you
});
```

2.0.153 **Enable Show ID Mode**
2.0.154 **Enable Show ID Mode**

```javascript
Applanga.setShowIdModeEnabled(true);
Expand Down Expand Up @@ -731,14 +731,29 @@ This will overide the setting in the plist, but it will not override draft mode
<true/>
...
```

The ***Convert Placeholder*** feature has support for the following:
- All instances of `%s` will be converted to `%@`
- Unsupported conversion types such as `%h` and `%tY` will convert to default `%@` type.
- Positional Arguments `%1$s` convert to `%1$@`
- Support iOS Argument Index `%4$s`
- Support iOS Relative Index `%<s`
- Support iOS Ordinary indexing `%s`

***Common placeholder***

These placeholder will not be converted as they are supported on iOS and Android.

- Scientific notation `%e` and `%E`
- `%c` and `%C` Unicode Characters
- `%f` floating point number
- `%g` and `%G` computerized scientific notation
- `%a` and `%A` Floating point numbers
- Octal integer `%o` (for `%O` see Android to iOS conversion)
- `%x` and `%X` hexadecimal presentation using lowercase letters (`%x`) or uppercase letters (`%X`)
- `%d` will remain `%d`
- Positional placeholder as `%1$s` are converted to `%1$@` and vice-versa

***Android placeholder***
- All instances of `%s` and `%S` will be converted to `%@`
- Unsupported conversion types such as `%h` and `%tY` will convert to default `%@` type.
- Boolean types `%b` and `%B` will be converted to `%@`
- `%h` and `%H` are converted to `%@`
- Positional strings using '<' are supported. "Duke's Birthday: `%1$tm` `%<te`,`%<tY`" results in "Duke's Birthday: `%1$@` `%1$@`,`%1$@`"




## Automatic Push Notification Localization and InfoPlist strings
Expand Down

0 comments on commit bec0626

Please sign in to comment.