Skip to content

Commit fddf755

Browse files
committed
chore(demo_spm): replace symlinked gitignore and add flutter_dotenv dep
Git doesn't follow symlinked .gitignore files, so replace with a real copy. Add missing flutter_dotenv dependency and .env asset needed by the shared main.dart. Made-with: Cursor
1 parent 36ee76a commit fddf755

2 files changed

Lines changed: 50 additions & 1 deletion

File tree

examples/demo_spm/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/demo_spm/.gitignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.build/
9+
.buildlog/
10+
.history
11+
.svn/
12+
.swiftpm/
13+
migrate_working_dir/
14+
15+
# IntelliJ related
16+
*.iml
17+
*.ipr
18+
*.iws
19+
.idea/
20+
21+
# The .vscode folder contains launch configuration and tasks you configure in
22+
# VS Code which you may wish to be included in version control, so this line
23+
# is commented out by default.
24+
#.vscode/
25+
26+
# Flutter/Dart/Pub related
27+
**/doc/api/
28+
**/ios/Flutter/.last_build_id
29+
.dart_tool/
30+
.flutter-plugins-dependencies
31+
.pub-cache/
32+
.pub/
33+
/build/
34+
/coverage/
35+
36+
# Symbolication related
37+
app.*.symbols
38+
39+
# Obfuscation related
40+
app.*.map.json
41+
42+
# Android Studio will place build artifacts here
43+
/android/app/debug
44+
/android/app/profile
45+
/android/app/release
46+
47+
# Environment
48+
.env

examples/demo_spm/pubspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies:
1616
http: ^1.2.0
1717
url_launcher: ^6.2.0
1818
flutter_svg: ^2.0.0
19+
flutter_dotenv: ^5.2.1
1920

2021
dev_dependencies:
2122
flutter_test:
@@ -35,3 +36,4 @@ flutter:
3536
uses-material-design: true
3637
assets:
3738
- assets/onesignal_logo.svg
39+
- .env

0 commit comments

Comments
 (0)