Skip to content

Commit

Permalink
[FSSDK-9359] chore Prepare for v1.0.1 GA release (#53)
Browse files Browse the repository at this point in the history
* Fix gradle & proguard rules

* Update CHANGELOG

* Bump version numbers

* Fix year in CHANGELOG
  • Loading branch information
mikechu-optimizely authored May 8, 2023
1 parent 005ecca commit 0158ff5
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# Optimizely Flutter SDK Changelog

## 1.0.1
May 8, 2023

**Official General Availability (GA) release**

### Bug Fixes

* Fix "no serializer found" error ([#51](https://github.com/optimizely/optimizely-flutter-sdk/pull/51)).

## 1.0.1-beta
March 10, 2022

* We updated our README.md and other non-functional code to reflect that this SDK supports both Optimizely Feature Experimentation and Optimizely Full Stack. ([#44](https://github.com/optimizely/optimizely-flutter-sdk/pull/44)).

## 1.0.0-beta
November 3, 2022

**Beta release of the Optimizely X Full Stack Flutter SDK.**

### New Features
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 @@ Other Flutter platforms are not currently supported by this SDK.
To add the flutter-sdk to your project dependencies, include the following in your app's pubspec.yaml:

```
optimizely_flutter_sdk: ^1.0.1-beta
optimizely_flutter_sdk: ^1.0.1
```

Then run
Expand Down
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ android {
versionName version_name
buildConfigField "String", "CLIENT_VERSION", "\"$version_name\""
multiDexEnabled true

// these rules will be merged to app's proguard rules
consumerProguardFiles './proguard-rules.txt'
}

compileOptions {
Expand All @@ -61,7 +64,7 @@ android {

buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Expand Down
14 changes: 14 additions & 0 deletions android/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Add project specific ProGuard rules here.
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# Optimizely
-keep class com.optimizely.optimizely_flutter_sdk.** {*;}
-keep class com.fasterxml.jackson.** {*;}
##---------------End: proguard configuration ----------

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: optimizely_flutter_sdk
description: This repository houses the Flutter SDK for use with Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts.
version: 1.0.1-beta
version: 1.0.1
homepage: https://github.com/optimizely/optimizely-flutter-sdk

environment:
Expand Down

0 comments on commit 0158ff5

Please sign in to comment.