- Integrate ali_auth plugin as local package (previously pub dependency) - Fix AppCompatActivity ClassNotFoundException via proguard keep rules - Add dialog popup mode matching iOS style (white background, rounded corners) - Fix invisible login button by adding blue GradientDrawable background - Add Airhub logo to authorization dialog via logoImgPath - Fix auth page not closing after login by calling quitPage() on token success - Update .gitignore to exclude plugin examples, screenshots, docs and backups Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
1.3 KiB
Ruby
43 lines
1.3 KiB
Ruby
#
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
|
#
|
|
Pod::Spec.new do |s|
|
|
s.name = 'ali_auth'
|
|
s.version = '1.3.7'
|
|
s.summary = 'A new flutter plugin project.'
|
|
s.description = <<-DESC
|
|
是一个集成阿里云号码认证服务SDK的flutter插件
|
|
DESC
|
|
s.homepage = 'http://ki5k.com'
|
|
s.license = { :file => '../LICENSE' }
|
|
s.author = { 'Your Company' => 'raohong07@163.com' }
|
|
s.source = { :path => '.' }
|
|
s.source_files = 'Classes/**/*'
|
|
s.public_header_files = 'Classes/**/*.h'
|
|
|
|
s.dependency 'Flutter'
|
|
s.dependency 'SDWebImage'
|
|
s.dependency 'MJExtension'
|
|
# s.dependency 'MBProgressHUD'
|
|
|
|
s.frameworks = 'Network'
|
|
|
|
s.vendored_frameworks = 'libs/ATAuthSDK.framework', 'libs/YTXMonitor.framework', 'libs/YTXOperators.framework'
|
|
s.static_framework = false
|
|
|
|
# 解决移动crash
|
|
s.xcconfig = {
|
|
'OTHER_LDFLAGS' => '-ObjC',
|
|
'ENABLE_BITCODE' => 'NO'
|
|
}
|
|
|
|
# 加载静态资源
|
|
s.resources = ['Assets/*']
|
|
|
|
s.ios.deployment_target = '11.0'
|
|
# s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
|
|
s.pod_target_xcconfig = {'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
|
|
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
|
|
end
|
|
|