https://github.com/bamlab/flutter-lyra
Flutter plugin around lyra native SDKs. Made by BAM ❤️💙💛
https://github.com/bamlab/flutter-lyra
Last synced: about 1 year ago
JSON representation
Flutter plugin around lyra native SDKs. Made by BAM ❤️💙💛
- Host: GitHub
- URL: https://github.com/bamlab/flutter-lyra
- Owner: bamlab
- License: mit
- Created: 2022-09-02T14:24:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T11:23:20.000Z (over 1 year ago)
- Last Synced: 2025-06-26T03:05:10.859Z (about 1 year ago)
- Language: Dart
- Homepage:
- Size: 453 KB
- Stars: 4
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter-Lyra
## Installation
### Android
Prerequisites:
- In your `android/app/build.gradle`, update your `minSdkVersion` in your default config :
```gradle
defaultConfig {
// others configs
minSdkVersion 21
}
```
- If you are using `FlutterActivity` directly, change it to
`FlutterFragmentActivity` in your `AndroidManifest.xml`.
- If you are using a custom activity, update your `MainActivity.java`:
```java
import io.flutter.embedding.android.FlutterFragmentActivity;
public class MainActivity extends FlutterFragmentActivity {
// ...
}
```
or `MainActivity.kt`:
```kotlin
import io.flutter.embedding.android.FlutterFragmentActivity
class MainActivity: FlutterFragmentActivity() {
// ...
}
```
to inherit from `FlutterFragmentActivity`.
- Use a theme that inherits MaterialTheme for the Android theme to apply to
the FlutterFragmentActivity as soon as the Android process has started
For example :
- In your `android/app/build.gradle`, you can add this dependency
```gradle
dependencies {
implementation "com.google.android.material:material:1.5.0"
// your others dependencies
}
```
- In your `android/app/src/main/res/values/styles.xml`
```xml
<!-- Or any other material theme that you want -->
<item name="android:windowBackground">?android:colorBackground</item>
```
Don't forget to change it as well in your `android/app/src/main/res/values-night/styles.xml` if you need to
### iOS
Prerequisites:
- In your `ios/Podfile`, update your ios sdk version :
```rb
platform :ios, '11.0'
```
## About Lyra
This sdk is the flutter interface implementation of the [android](https://github.com/lyra/android-sdk) and [ios](https://github.com/lyra/ios-sdk) sdks of Lyra
If you want more informations about Lyra, here is their [website](https://payzen.io/fr-FR/)
## 👉 About Bam
We are a 100 people company developing and designing multiplatform applications with [React Native](https://www.bam.tech/expertise/react-native) and [Flutter](https://www.bam.tech/expertise/flutter) using the Lean & Agile methodology. To get more information on the solutions that would suit your needs, feel free to get in touch by [email](mailto://contact@bam.tech) or through [contact form](https://www.bam.tech/contact)!
We will always answer you with pleasure 😁