Skip to content

Commit

Permalink
Merge pull request #15 from plaidev/android-1
Browse files Browse the repository at this point in the history
[flutter] add license, update readme, update pubspec.yaml
  • Loading branch information
RyosukeCla committed Mar 20, 2024
2 parents 85969f1 + ecf6cd3 commit a32c36c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 61 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nativebrik sdk
# Nativebrik SDK

documentations

Expand Down
14 changes: 13 additions & 1 deletion flutter/nativebrik_bridge/LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
TODO: Add your license here.
Copyright 2024 <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
15 changes: 3 additions & 12 deletions flutter/nativebrik_bridge/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# nativebrik_bridge
# Nativebrik Bridge SDK

A new Flutter plugin project.
documentations

## Getting Started

This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/developing-packages/),
a specialized package that includes platform-specific implementation code for
Android and/or iOS.

For help getting started with Flutter development, view the
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
https://nativebrik.com/intl/en/docs

49 changes: 2 additions & 47 deletions flutter/nativebrik_bridge/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: nativebrik_bridge
description: "A new Flutter plugin project."
description: "Nativebrik bridge sdk for flutter"
version: 0.0.1
homepage:
homepage: "https://nativebrik.com"

environment:
sdk: '>=3.3.0 <4.0.0'
Expand All @@ -17,56 +17,11 @@ dev_dependencies:
sdk: flutter
flutter_lints: ^3.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
# This section identifies this Flutter project as a plugin project.
# The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)
# which should be registered in the plugin registry. This is required for
# using method channels.
# The Android 'package' specifies package in which the registered class is.
# This is required for using method channels on Android.
# The 'ffiPlugin' specifies that native code should be built and bundled.
# This is required for using `dart:ffi`.
# All these are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin:
platforms:
android:
package: com.nativebrik.flutter.nativebrik_bridge
pluginClass: NativebrikBridgePlugin
ios:
pluginClass: NativebrikBridgePlugin

# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware

# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages

0 comments on commit a32c36c

Please sign in to comment.