Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShareExtend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
ShareExtend
Commits
240ad28e
Commit
240ad28e
authored
Feb 21, 2019
by
zhouteng
Committed by
GitHub
Feb 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2 from AppleEducate/master
Fixing Android Dependency
parents
2fff2f5d
85673ee3
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
32 additions
and
22 deletions
+32
-22
CHANGELOG.md
CHANGELOG.md
+5
-0
android/build.gradle
android/build.gradle
+3
-3
android/gradle.properties
android/gradle.properties
+2
-0
android/src/main/AndroidManifest.xml
android/src/main/AndroidManifest.xml
+1
-1
android/src/main/java/com/zt/shareextend/ShareExtendPlugin.java
...d/src/main/java/com/zt/shareextend/ShareExtendPlugin.java
+3
-3
example/android/app/build.gradle
example/android/app/build.gradle
+5
-5
example/android/build.gradle
example/android/build.gradle
+2
-1
example/android/gradle.properties
example/android/gradle.properties
+2
-0
example/android/gradle/wrapper/gradle-wrapper.properties
example/android/gradle/wrapper/gradle-wrapper.properties
+2
-2
example/pubspec.yaml
example/pubspec.yaml
+2
-2
pubspec.lock
pubspec.lock
+4
-4
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
240ad28e
## 0.0.4
*
Updated to Support Latest Android Dependencies
## 0.0.1
*
TODO: Describe initial release.
android/build.gradle
View file @
240ad28e
...
...
@@ -22,11 +22,11 @@ rootProject.allprojects {
apply
plugin:
'com.android.library'
android
{
compileSdkVersion
2
7
compileSdkVersion
2
8
defaultConfig
{
minSdkVersion
16
testInstrumentationRunner
"android
.support
.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android
x
.test.runner.AndroidJUnitRunner"
}
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -34,5 +34,5 @@ android {
}
dependencies
{
api
'
com.android.support:support-core-utils:27.1.1
'
api
'
androidx.legacy:legacy-support-core-utils:1.0.0
'
}
android/gradle.properties
View file @
240ad28e
org.gradle.jvmargs
=
-Xmx1536M
android.enableJetifier
=
true
android.useAndroidX
=
true
\ No newline at end of file
android/src/main/AndroidManifest.xml
View file @
240ad28e
...
...
@@ -6,7 +6,7 @@
<application>
<provider
android:name=
"android
.support.v4
.content.FileProvider"
android:name=
"android
x.core
.content.FileProvider"
android:authorities=
"com.zt.shareextend.fileprovider"
android:exported=
"false"
android:grantUriPermissions=
"true"
>
...
...
android/src/main/java/com/zt/shareextend/ShareExtendPlugin.java
View file @
240ad28e
...
...
@@ -13,9 +13,9 @@ import android.content.pm.PackageManager;
import
android.net.Uri
;
import
android.os.Build
;
import
android.os.Environment
;
import
android
.support.v4
.app.ActivityCompat
;
import
android
.support.v4
.content.ContextCompat
;
import
android
.support.v4
.content.FileProvider
;
import
android
x.core
.app.ActivityCompat
;
import
android
x.core
.content.ContextCompat
;
import
android
x.core
.content.FileProvider
;
import
java.io.File
;
...
...
example/android/app/build.gradle
View file @
240ad28e
...
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
7
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -35,10 +35,10 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.zt.shareextendexample"
minSdkVersion
19
targetSdkVersion
2
7
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
testInstrumentationRunner
"android
.support
.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android
x
.test.runner.AndroidJUnitRunner"
}
buildTypes
{
...
...
@@ -56,6 +56,6 @@ flutter {
dependencies
{
testImplementation
'junit:junit:4.12'
androidTestImplementation
'
com.android.support.test:runner:1.0.2
'
androidTestImplementation
'
com.android.support.test.espresso:espresso-core:3.0.2
'
androidTestImplementation
'
androidx.test:runner:1.1.2-alpha01
'
androidTestImplementation
'
androidx.test.espresso:espresso-core:3.1.2-alpha01
'
}
example/android/build.gradle
View file @
240ad28e
...
...
@@ -5,7 +5,7 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.
1.2
'
classpath
'com.android.tools.build:gradle:3.
3.1
'
}
}
...
...
@@ -17,6 +17,7 @@ allprojects {
}
rootProject
.
buildDir
=
'../build'
subprojects
{
project
.
buildDir
=
"${rootProject.buildDir}/${project.name}"
}
...
...
example/android/gradle.properties
View file @
240ad28e
android.enableJetifier
=
true
android.useAndroidX
=
true
org.gradle.jvmargs
=
-Xmx1536M
example/android/gradle/wrapper/gradle-wrapper.properties
View file @
240ad28e
#
Fri Jun 23 08:50:38 CEST 2017
#
Thu Feb 07 10:23:11 EST 2019
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-4.
4
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-4.
10.1
-all.zip
example/pubspec.yaml
View file @
240ad28e
...
...
@@ -19,8 +19,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons
:
^0.1.2
image_picker
:
^0.4.10
path_provider
:
^0.4.1
image_picker
:
path_provider
:
dev_dependencies
:
flutter_test
:
...
...
pubspec.lock
View file @
240ad28e
...
...
@@ -5,7 +5,7 @@ packages:
dependency: transitive
description:
name: collection
url: "https://
dart-pub.mirrors.sjtug.sjtu.edu.cn
"
url: "https://
pub.dartlang.org
"
source: hosted
version: "1.14.11"
flutter:
...
...
@@ -17,7 +17,7 @@ packages:
dependency: "direct main"
description:
name: meta
url: "https://
dart-pub.mirrors.sjtug.sjtu.edu.cn
"
url: "https://
pub.dartlang.org
"
source: hosted
version: "1.1.6"
sky_engine:
...
...
@@ -29,14 +29,14 @@ packages:
dependency: transitive
description:
name: typed_data
url: "https://
dart-pub.mirrors.sjtug.sjtu.edu.cn
"
url: "https://
pub.dartlang.org
"
source: hosted
version: "1.1.6"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://
dart-pub.mirrors.sjtug.sjtu.edu.cn
"
url: "https://
pub.dartlang.org
"
source: hosted
version: "2.0.8"
sdks:
...
...
pubspec.yaml
View file @
240ad28e
name
:
share_extend
description
:
A flutter plugin to share text, image, file with system ui. It is compatible with both andorid and ios.
version
:
1.0.
3
version
:
1.0.
4
author
:
zhouteng <qfszyq@gmail.com>
homepage
:
https://github.com/zhouteng0217/ShareExtend
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment