Skip to content

Commit

Permalink
Merge pull request #103 from chargebee/utf-8-main
Browse files Browse the repository at this point in the history
changing from ascii to utf8
  • Loading branch information
cb-haripriyan committed Jul 26, 2024
2 parents 31be19f + 0c0b488 commit f24dff9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.5
Chore
* UTF8 support

## 0.4.4
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 @@ -27,7 +27,7 @@ To use Chargebee SDK in your Flutter app, follow these steps:

``` dart
dependencies:
chargebee_flutter: ^0.4.4
chargebee_flutter: ^0.4.5
```

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 '0.4.4'
version '0.4.5'

buildscript {
ext.kotlin_version = '1.6.0'
Expand Down
8 changes: 4 additions & 4 deletions ios/Classes/SwiftChargebeeFlutterSdkPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '0.4.4'
s.version = '0.4.5'
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: 0.4.4
version: 0.4.5
homepage: 'https://chargebee.com'
repository: 'https://github.com/chargebee/chargebee-flutter'

Expand Down

0 comments on commit f24dff9

Please sign in to comment.