Skip to content

Commit

Permalink
Merge pull request #102 from chargebee/utf8-next
Browse files Browse the repository at this point in the history
Changing ascii to utf 8
  • Loading branch information
cb-haripriyan authored Jul 26, 2024
2 parents fa601b0 + 25f309e commit ca6c816
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-beta.7
Chore
* UTF8 support

## 1.0.0-beta.6
Chore
* Compatible with AGP 8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To use Chargebee SDK in your Flutter app, follow these steps:

``` dart
dependencies:
chargebee_flutter: ^1.0.0-beta.6
chargebee_flutter: ^1.0.0-beta.7
```

2. Install dependency.
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.chargebee.flutter.sdk'
version '1.0.0-beta.6'
version '1.0.0-beta.7'

buildscript {
ext.kotlin_version = '1.6.0'
Expand Down
16 changes: 8 additions & 8 deletions ios/Classes/SwiftChargebeeFlutterSdkPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject:dict,
options: []) {
if let jsonString = String(data: data,
encoding: .ascii) {
encoding: .utf8) {
_result(jsonString)
}
}else {
Expand Down Expand Up @@ -120,7 +120,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject:dict,
options: []) {
if let jsonString = String(data: data,
encoding: .ascii) {
encoding: .utf8) {
_result(jsonString)
}
}else {
Expand Down Expand Up @@ -152,7 +152,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject: product.product.toMap(),
options: []) {
if let jsonString = String(data: theJSONData,
encoding: .ascii) {
encoding: .utf8) {
array.append(jsonString)
}
}
Expand All @@ -173,7 +173,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject:dataWrapper.ids,
options: []) {
if let jsonString = String(data: data,
encoding: .ascii) {
encoding: .utf8) {
_result(jsonString)
}
}else {
Expand All @@ -196,7 +196,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject:entitlements.list.compactMap { $0.dict },
options: []) {
if let jsonString = String(data: data,
encoding: .ascii) {
encoding: .utf8) {
_result(jsonString)
}
}else {
Expand Down Expand Up @@ -271,7 +271,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject: subscription.toMap(),
options: []) {
if let jsonString = String(data: theJSONData,
encoding: .ascii) {
encoding: .utf8) {
array.append(jsonString)
}
}
Expand Down Expand Up @@ -305,7 +305,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject:dict,
options: []) {
if let jsonString = String(data: data,
encoding: .ascii) {
encoding: .utf8) {
_result(jsonString)
}
}else {
Expand Down Expand Up @@ -342,7 +342,7 @@ public class SwiftChargebeeFlutterSdkPlugin: NSObject, FlutterPlugin {
withJSONObject:dict,
options: []) {
if let jsonString = String(data: data,
encoding: .ascii) {
encoding: .utf8) {
_result(jsonString)
}
}else {
Expand Down
2 changes: 1 addition & 1 deletion ios/chargebee_flutter.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'chargebee_flutter'
s.version = '1.0.0-beta.6'
s.version = '1.0.0-beta.7'
s.summary = 'This is the official Software Development Kit (SDK) for Chargebee Flutter.'
s.description = <<-DESC
A new Flutter plugin.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chargebee_flutter
description: This is the official Software Development Kit (SDK) for Chargebee Flutter.
version: 1.0.0-beta.6
version: 1.0.0-beta.7
homepage: 'https://chargebee.com'
repository: 'https://github.com/chargebee/chargebee-flutter'

Expand Down

0 comments on commit ca6c816

Please sign in to comment.