Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-fluwx
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
openSourceLibrary
clx-fluwx
Commits
b92a06bc
提交
b92a06bc
authored
12月 13, 2019
作者:
JarvanMo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
45cdf350
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
90 行增加
和
42 行删除
+90
-42
CHANGELOG.md
CHANGELOG.md
+4
-0
.flutter-plugins-dependencies
example/.flutter-plugins-dependencies
+2
-0
gradle.properties
example/android/gradle.properties
+1
-0
Flutter.podspec
example/ios/Flutter/Flutter.podspec
+18
-0
flutter_export_environment.sh
example/ios/Flutter/flutter_export_environment.sh
+2
-0
Podfile
example/ios/Podfile
+59
-35
Podfile.lock
example/ios/Podfile.lock
+3
-3
project.pbxproj
example/ios/Runner.xcodeproj/project.pbxproj
+0
-3
pubspec.yaml
pubspec.yaml
+1
-1
没有找到文件。
CHANGELOG.md
浏览文件 @
b92a06bc
## 1.1.4
*
注册微信时会对universal link进行简单校验
## 1.1.3
## 1.1.3
*
Fix #146
*
Fix #146
...
...
example/.flutter-plugins-dependencies
0 → 100644
浏览文件 @
b92a06bc
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"fluwx","dependencies":[]}]}
\ No newline at end of file
example/android/gradle.properties
浏览文件 @
b92a06bc
android.enableJetifier
=
true
android.enableJetifier
=
true
android.useAndroidX
=
true
android.useAndroidX
=
true
org.gradle.jvmargs
=
-Xmx1536M
org.gradle.jvmargs
=
-Xmx1536M
android.enableR8
=
true
example/ios/Flutter/Flutter.podspec
0 → 100644
浏览文件 @
b92a06bc
#
# NOTE: This podspec is NOT to be published. It is only used as a local source!
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'Flutter'
s
.
version
=
'1.0.0'
s
.
summary
=
'High-performance, high-fidelity mobile apps.'
s
.
description
=
<<-
DESC
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
DESC
s
.
homepage
=
'https://flutter.io'
s
.
license
=
{
:type
=>
'MIT'
}
s
.
author
=
{
'Flutter Dev Team'
=>
'flutter-dev@googlegroups.com'
}
s
.
source
=
{
:git
=>
'https://github.com/flutter/engine'
,
:tag
=>
s
.
version
.
to_s
}
s
.
ios
.
deployment_target
=
'8.0'
s
.
vendored_frameworks
=
'Flutter.framework'
end
example/ios/Flutter/flutter_export_environment.sh
浏览文件 @
b92a06bc
...
@@ -6,4 +6,6 @@ export "FLUTTER_TARGET=/Users/mo/Code/Flutter/fluwx/example/lib/main.dart"
...
@@ -6,4 +6,6 @@ export "FLUTTER_TARGET=/Users/mo/Code/Flutter/fluwx/example/lib/main.dart"
export
"FLUTTER_BUILD_DIR=build"
export
"FLUTTER_BUILD_DIR=build"
export
"SYMROOT=
${
SOURCE_ROOT
}
/../build/ios"
export
"SYMROOT=
${
SOURCE_ROOT
}
/../build/ios"
export
"FLUTTER_FRAMEWORK_DIR=/Users/mo/Development/flutter/bin/cache/artifacts/engine/ios"
export
"FLUTTER_FRAMEWORK_DIR=/Users/mo/Development/flutter/bin/cache/artifacts/engine/ios"
export
"FLUTTER_BUILD_NAME=1.0.0"
export
"FLUTTER_BUILD_NUMBER=1"
export
"TRACK_WIDGET_CREATION=true"
export
"TRACK_WIDGET_CREATION=true"
example/ios/Podfile
浏览文件 @
b92a06bc
# Uncomment this line to define a global platform for your project
# Uncomment this line to define a global platform for your project
platform
:ios
,
'9.0'
#
platform :ios, '9.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV
[
'COCOAPODS_DISABLE_STATS'
]
=
'true'
ENV
[
'COCOAPODS_DISABLE_STATS'
]
=
'true'
project
'Runner'
,
{
'Debug'
=>
:debug
,
'Profile'
=>
:release
,
'Release'
=>
:release
,
}
def
parse_KV_file
(
file
,
separator
=
'='
)
def
parse_KV_file
(
file
,
separator
=
'='
)
file_abs_path
=
File
.
expand_path
(
file
)
file_abs_path
=
File
.
expand_path
(
file
)
if
!
File
.
exists?
file_abs_path
if
!
File
.
exists?
file_abs_path
return
[];
return
[];
end
end
pods_ary
=
[]
generated_key_values
=
{}
skip_line_start_symbols
=
[
"#"
,
"/"
]
skip_line_start_symbols
=
[
"#"
,
"/"
]
File
.
foreach
(
file_abs_path
)
{
|
line
|
File
.
foreach
(
file_abs_path
)
do
|
line
|
next
if
skip_line_start_symbols
.
any?
{
|
symbol
|
line
=~
/^\s*
#{
symbol
}
/
}
next
if
skip_line_start_symbols
.
any?
{
|
symbol
|
line
=~
/^\s*
#{
symbol
}
/
}
plugin
=
line
.
split
(
pattern
=
separator
)
plugin
=
line
.
split
(
pattern
=
separator
)
if
plugin
.
length
==
2
if
plugin
.
length
==
2
podname
=
plugin
[
0
].
strip
()
podname
=
plugin
[
0
].
strip
()
path
=
plugin
[
1
].
strip
()
path
=
plugin
[
1
].
strip
()
podpath
=
File
.
expand_path
(
"
#{
path
}
"
,
file_abs_path
)
podpath
=
File
.
expand_path
(
"
#{
path
}
"
,
file_abs_path
)
pods_ary
.
push
({
:name
=>
podname
,
:path
=>
podpath
});
generated_key_values
[
podname
]
=
podpath
else
else
puts
"Invalid plugin specification:
#{
line
}
"
puts
"Invalid plugin specification:
#{
line
}
"
end
end
}
end
return
pods_ary
generated_key_values
end
end
target
'Runner'
do
target
'Runner'
do
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
# Flutter Pod
# referring to absolute paths on developers' machines.
system
(
'rm -rf .symlinks'
)
system
(
'mkdir -p .symlinks/plugins'
)
# Flutter Pods
copied_flutter_dir
=
File
.
join
(
__dir__
,
'Flutter'
)
generated_xcode_build_settings
=
parse_KV_file
(
'./Flutter/Generated.xcconfig'
)
copied_framework_path
=
File
.
join
(
copied_flutter_dir
,
'Flutter.framework'
)
if
generated_xcode_build_settings
.
empty?
copied_podspec_path
=
File
.
join
(
copied_flutter_dir
,
'Flutter.podspec'
)
puts
"Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
unless
File
.
exist?
(
copied_framework_path
)
&&
File
.
exist?
(
copied_podspec_path
)
end
# Copy Flutter.framework and Flutter.podspec to Flutter/ to have something to link against if the xcode backend script has not run yet.
generated_xcode_build_settings
.
map
{
|
p
|
# That script will copy the correct debug/profile/release version of the framework based on the currently selected Xcode configuration.
if
p
[
:name
]
==
'FLUTTER_FRAMEWORK_DIR'
# CocoaPods will not embed the framework on pod install (before any build phases can generate) if the dylib does not exist.
symlink
=
File
.
join
(
'.symlinks'
,
'flutter'
)
File
.
symlink
(
File
.
dirname
(
p
[
:path
]),
symlink
)
generated_xcode_build_settings_path
=
File
.
join
(
copied_flutter_dir
,
'Generated.xcconfig'
)
pod
'Flutter'
,
:path
=>
File
.
join
(
symlink
,
File
.
basename
(
p
[
:path
]))
unless
File
.
exist?
(
generated_xcode_build_settings_path
)
raise
"Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
end
}
generated_xcode_build_settings
=
parse_KV_file
(
generated_xcode_build_settings_path
)
cached_framework_dir
=
generated_xcode_build_settings
[
'FLUTTER_FRAMEWORK_DIR'
];
unless
File
.
exist?
(
copied_framework_path
)
FileUtils
.
cp_r
(
File
.
join
(
cached_framework_dir
,
'Flutter.framework'
),
copied_flutter_dir
)
end
unless
File
.
exist?
(
copied_podspec_path
)
FileUtils
.
cp
(
File
.
join
(
cached_framework_dir
,
'Flutter.podspec'
),
copied_flutter_dir
)
end
end
# Keep pod path relative so it can be checked into Podfile.lock.
pod
'Flutter'
,
:path
=>
'Flutter'
# Plugin Pods
# Plugin Pods
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
# referring to absolute paths on developers' machines.
system
(
'rm -rf .symlinks'
)
system
(
'mkdir -p .symlinks/plugins'
)
plugin_pods
=
parse_KV_file
(
'../.flutter-plugins'
)
plugin_pods
=
parse_KV_file
(
'../.flutter-plugins'
)
plugin_pods
.
map
{
|
p
|
plugin_pods
.
each
do
|
name
,
path
|
symlink
=
File
.
join
(
'.symlinks'
,
'plugins'
,
p
[
:name
]
)
symlink
=
File
.
join
(
'.symlinks'
,
'plugins'
,
name
)
File
.
symlink
(
p
[
:path
]
,
symlink
)
File
.
symlink
(
p
ath
,
symlink
)
pod
p
[
:name
]
,
:path
=>
File
.
join
(
symlink
,
'ios'
)
pod
name
,
:path
=>
File
.
join
(
symlink
,
'ios'
)
}
end
end
end
# Prevent Cocoapods from embedding a second Flutter framework and causing an error with the new Xcode build system.
install!
'cocoapods'
,
:disable_input_output_paths
=>
true
post_install
do
|
installer
|
post_install
do
|
installer
|
installer
.
pods_project
.
targets
.
each
do
|
target
|
installer
.
pods_project
.
targets
.
each
do
|
target
|
target
.
build_configurations
.
each
do
|
config
|
target
.
build_configurations
.
each
do
|
config
|
...
...
example/ios/Podfile.lock
浏览文件 @
b92a06bc
...
@@ -4,12 +4,12 @@ PODS:
...
@@ -4,12 +4,12 @@ PODS:
- Flutter
- Flutter
DEPENDENCIES:
DEPENDENCIES:
- Flutter (from `
.symlinks/flutter/ios
`)
- Flutter (from `
Flutter
`)
- fluwx (from `.symlinks/plugins/fluwx/ios`)
- fluwx (from `.symlinks/plugins/fluwx/ios`)
EXTERNAL SOURCES:
EXTERNAL SOURCES:
Flutter:
Flutter:
:path:
".symlinks/flutter/ios"
:path:
Flutter
fluwx:
fluwx:
:path: ".symlinks/plugins/fluwx/ios"
:path: ".symlinks/plugins/fluwx/ios"
...
@@ -17,6 +17,6 @@ SPEC CHECKSUMS:
...
@@ -17,6 +17,6 @@ SPEC CHECKSUMS:
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
fluwx: 765c6052398eaf6fe13c73409488b0d0b9d00fd6
fluwx: 765c6052398eaf6fe13c73409488b0d0b9d00fd6
PODFILE CHECKSUM: 3
48e15598a1c6ea25d3ed63919d5ffb9bd1c2ba6
PODFILE CHECKSUM: 3
dbe063e9c90a5d7c9e4e76e70a821b9e2c1d271
COCOAPODS: 1.8.4
COCOAPODS: 1.8.4
example/ios/Runner.xcodeproj/project.pbxproj
浏览文件 @
b92a06bc
...
@@ -281,12 +281,9 @@
...
@@ -281,12 +281,9 @@
files
=
(
files
=
(
);
);
inputPaths
=
(
inputPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh"
,
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework"
,
);
);
name
=
"[CP] Embed Pods Frameworks"
;
name
=
"[CP] Embed Pods Frameworks"
;
outputPaths
=
(
outputPaths
=
(
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework"
,
);
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellPath
=
/bin/sh
;
...
...
pubspec.yaml
浏览文件 @
b92a06bc
name
:
fluwx
name
:
fluwx
description
:
A Flutter plugin allowing developers to share or pay with natvie android & iOS Wechat SDKs.
description
:
A Flutter plugin allowing developers to share or pay with natvie android & iOS Wechat SDKs.
version
:
1.1.
3
version
:
1.1.
4
author
:
JarvanMo <jarvan.mo@gmail.com>
author
:
JarvanMo <jarvan.mo@gmail.com>
homepage
:
https://github.com/JarvanMo/fluwx
homepage
:
https://github.com/JarvanMo/fluwx
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论