updated github template

This commit is contained in:
Lorenzo Pichilli 2020-06-22 17:48:32 +02:00
parent daa40a701e
commit 6b84f0ad2e
6 changed files with 44 additions and 9 deletions

2
.github/FUNDING.yml vendored
View File

@ -1,7 +1,7 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: lorenzo_pichilli # Replace with a single Patreon username
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel

View File

@ -1,17 +1,33 @@
---
name: Bug report
about: Something is crashing or not working as intended
labels: bug
---
<!--
❗️❗️❗️ IMPORTANT ❗️❗️❗️
Please, before posting a new issue, make sure to check these points!
You may already find an answer to your problem!
-->
- [x] I have read the [README](https://github.com/pichillilorenzo/flutter_inappwebview/blob/master/README.md)
- [x] I have already searched for the same problem
- [x] I have read and done the setup for Android: [IMPORTANT Note for Android and iOS](https://github.com/pichillilorenzo/flutter_inappwebview#important-note-for-android-and-ios) and [IMPORTANT Note for Android](https://github.com/pichillilorenzo/flutter_inappwebview#important-note-for-android)
- [x] I have read and done the setup for iOS: [IMPORTANT Note for Android and iOS](https://github.com/pichillilorenzo/flutter_inappwebview#important-note-for-android-and-ios) and [IMPORTANT Note for iOS](https://github.com/pichillilorenzo/flutter_inappwebview#important-note-for-ios)
- [x] I have ran the sample app and it does not work there
## Environment
**Flutter version:**
**Plugin version:** <!-- Add branch if necessary -->
**Android version:** <!-- If customize ROM, write which -->
**iOS version:**
**Xcode version:**
**Device information:** <!-- Manufacturer and model -->
| Technology | Version |
| -------------------- | ------------- |
| Flutter version | |
| Plugin version | |
| Android version | |
| iOS version | |
| Xcode version | |
| Device information | |
## Description
@ -21,6 +37,8 @@ about: Something is crashing or not working as intended
## Steps to reproduce
<!-- Optionally provide the least amount of code that shows this behaviour. -->
1. This
2. Than that
3. Then

8
.github/autolabeler.yml vendored Normal file
View File

@ -0,0 +1,8 @@
# Configuration for probot-auto-labeler - https://github.com/probot/autolabeler
# label: file | path
android: ["/android", "*.kt", "*.java", "*gradle*", "AndroidManifest.xml"]
iOS: ["/ios", "*.swift", "*.h", "*.m", "*.xcodeproj", "*.xcworkspace", "*.plist", "*.storyboard", "*.xcconfig", Podfile*"]
flutter/dart: ["/lib", "*.dart"]
documentation: ["*.md"]
legal: ["LICENSE*", "NOTICES*"]

9
.github/no-response.yml vendored Normal file
View File

@ -0,0 +1,9 @@
# Configuration for probot-no-response - https://github.com/probot/no-response
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 7
# Label requiring a response
responseRequiredLabel: answered
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because it was marked as "answered", and there wasn't any recent activity on this issue.

View File

@ -5,7 +5,6 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](/LICENSE)
[![Donate to this project using Paypal](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/LorenzoPichilli)
[![Donate to this project using Patreon](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/bePatron?u=9269604)
A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.
@ -474,7 +473,7 @@ This event will be dispatched as soon as the platform (Android or iOS) is ready
```
`window.flutter_inappwebview.callHandler` returns a JavaScript [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)
that can be used to get the json result returned by `JavaScriptHandlerCallback.
that can be used to get the json result returned by `JavaScriptHandlerCallback`.
In this case, simply return data that you want to send and it will be automatically json encoded using `jsonEncode` from the `dart:convert` library.
So, on the JavaScript side, to get data coming from the Dart side, you will use:

View File

@ -26,6 +26,7 @@
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/flutter_inappwebview/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/flutter_inappwebview/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/flutter_inappwebview/example/build" />
<excludeFolder url="file://$MODULE_DIR$/example/ios/.symlinks/plugins/flutter_inappwebview/example/ios/Flutter/App.framework/flutter_assets/packages" />
<excludeFolder url="file://$MODULE_DIR$/example/ios/Flutter/App.framework/flutter_assets/packages" />
<excludeFolder url="file://$MODULE_DIR$/flutter_inappbrowser_tests/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/flutter_inappbrowser_tests/.pub" />