Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@
.pub/

build/
.build/
.swiftpm/

# Firebase — contains developer email, OAuth metadata, internal endpoints
firebase-debug.log

# IntelliJ/IDE backup and generated files
*.bak
*.iml
.idea/

# Flutter iOS ephemeral (generated per-build, may contain absolute local paths)
example/ios/Flutter/ephemeral/
19 changes: 0 additions & 19 deletions .idea/libraries/Dart_SDK.xml

This file was deleted.

6 changes: 6 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build/
.idea/
*.iml
*.bak
firebase-debug.log
example/ios/Flutter/ephemeral/
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# 2.1.0
# 3.0.0
* breaking: add Swift Package Manager support for iOS plugins
* breaking: raise minimum support to Dart 3.11+, Flutter 3.41+, and iOS 13+
* support: keep CocoaPods compatibility while adding Swift Package Manager packaging

## 2.1.0
* fix: #4

## 2.0.1
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

Retrieve Android/iOS device user agents in Flutter.

iOS now supports both Swift Package Manager and CocoaPods.

This release raises the minimum supported toolchain to Dart 3.11+, Flutter 3.41+, and iOS 13+.

### Example user-agents:

| System | User-Agent | WebView User-Agent |
Expand Down Expand Up @@ -42,4 +46,4 @@ Android version returns:

### Credits 👍

Based of https://github.com/j0j00/flutter_user_agent
Based of https://github.com/j0j00/flutter_user_agent
7 changes: 7 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release

# Flutter iOS — generated per-build, may contain absolute local paths / OAuth metadata
ios/Flutter/ephemeral/
ios/Flutter/flutter_export_environment.sh

# Firebase debug log — contains developer email and OAuth metadata
firebase-debug.log
2 changes: 0 additions & 2 deletions example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
</dict>
</plist>
1 change: 0 additions & 1 deletion example/ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 0 additions & 1 deletion example/ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
38 changes: 0 additions & 38 deletions example/ios/Podfile

This file was deleted.

22 changes: 0 additions & 22 deletions example/ios/Podfile.lock

This file was deleted.

Loading