Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing ascii to utf 8 #102

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading