Skip to content

Commit

Permalink
v1.1.3, Fix Android Embedding
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-litvin-cr committed Jan 10, 2022
1 parent 9b008b6 commit 3820bdb
Show file tree
Hide file tree
Showing 5 changed files with 14 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.1.3

- Fixed Android Embedding

# 1.1.2

- Updated example for web
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 @@ In the `pubspec.yaml` of your flutter project, add the following dependency:
```yaml
dependencies:
...
flutter_sliding_tutorial: "^1.1.0+1"
flutter_sliding_tutorial: "^1.1.3"
```
In your library add the following import:
Expand Down
5 changes: 4 additions & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:label="flutter_sliding_tutorial_example"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:name="com.cleveroad.flutter_plugin_example.MainActivity"
android:launchMode="singleTop"
android:exported="true"
android:theme="@style/LaunchTheme"
Expand All @@ -30,5 +30,8 @@
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
package com.cleveroad.flutter_sliding_tutorial_example
package com.cleveroad.flutter_plugin_example

import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity;

import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
}
class MainActivity : FlutterActivity() {

}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_sliding_tutorial
description: Applied parallax effects will make your product presentation look like Google apps tutorial.
version: 1.1.2
version: 1.1.3
homepage: https://github.com/Cleveroad/flutter_sliding_tutorial

environment:
Expand Down

0 comments on commit 3820bdb

Please sign in to comment.