Skip to content

Commit bc9afd0

Browse files
committed
iOS app
1 parent 5f7b656 commit bc9afd0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+354
-23
lines changed

invoiceninja.iml

+42
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,48 @@
99
<excludeFolder url="file://$MODULE_DIR$/.idea" />
1010
<excludeFolder url="file://$MODULE_DIR$/.pub" />
1111
<excludeFolder url="file://$MODULE_DIR$/build" />
12+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/firebase_auth/.dart_tool" />
13+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/firebase_auth/.pub" />
14+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/firebase_auth/build" />
15+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/firebase_auth/example/.dart_tool" />
16+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/firebase_auth/example/.pub" />
17+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/firebase_auth/example/build" />
18+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/flutter_pdf_viewer/.dart_tool" />
19+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/flutter_pdf_viewer/.pub" />
20+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/flutter_pdf_viewer/build" />
21+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/flutter_pdf_viewer/example/.dart_tool" />
22+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/flutter_pdf_viewer/example/.pub" />
23+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/flutter_pdf_viewer/example/build" />
24+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/google_sign_in/.dart_tool" />
25+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/google_sign_in/.pub" />
26+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/google_sign_in/build" />
27+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/google_sign_in/example/.dart_tool" />
28+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/google_sign_in/example/.pub" />
29+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/google_sign_in/example/build" />
30+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/path_provider/.dart_tool" />
31+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/path_provider/.pub" />
32+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/path_provider/build" />
33+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/path_provider/example/.dart_tool" />
34+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/path_provider/example/.pub" />
35+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/path_provider/example/build" />
36+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/share/.dart_tool" />
37+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/share/.pub" />
38+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/share/build" />
39+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/share/example/.dart_tool" />
40+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/share/example/.pub" />
41+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/share/example/build" />
42+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/shared_preferences/.dart_tool" />
43+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/shared_preferences/.pub" />
44+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/shared_preferences/build" />
45+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/shared_preferences/example/.dart_tool" />
46+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/shared_preferences/example/.pub" />
47+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/shared_preferences/example/build" />
48+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/url_launcher/.dart_tool" />
49+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/url_launcher/.pub" />
50+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/url_launcher/build" />
51+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/url_launcher/example/.dart_tool" />
52+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/url_launcher/example/.pub" />
53+
<excludeFolder url="file://$MODULE_DIR$/ios/.symlinks/plugins/url_launcher/example/build" />
1254
</content>
1355
<orderEntry type="sourceFolder" forTests="false" />
1456
<orderEntry type="library" name="Dart SDK" level="project" />

ios/.symlinks/flutter

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/bin/cache/artifacts/engine

ios/.symlinks/plugins/firebase_auth

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.19
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_pdf_viewer-0.0.3

ios/.symlinks/plugins/google_sign_in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-3.0.5

ios/.symlinks/plugins/path_provider

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.1

ios/.symlinks/plugins/share

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.5.3
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.2

ios/.symlinks/plugins/url_launcher

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Users/hillel/Code/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3

ios/Flutter/Debug.xcconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
12
#include "Generated.xcconfig"

ios/Flutter/Release.xcconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
12
#include "Generated.xcconfig"

ios/Podfile

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Uncomment this line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6+
7+
def parse_KV_file(file, separator='=')
8+
file_abs_path = File.expand_path(file)
9+
if !File.exists? file_abs_path
10+
return [];
11+
end
12+
pods_ary = []
13+
skip_line_start_symbols = ["#", "/"]
14+
File.foreach(file_abs_path) { |line|
15+
next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
16+
plugin = line.split(pattern=separator)
17+
if plugin.length == 2
18+
podname = plugin[0].strip()
19+
path = plugin[1].strip()
20+
podpath = File.expand_path("#{path}", file_abs_path)
21+
pods_ary.push({:name => podname, :path => podpath});
22+
else
23+
puts "Invalid plugin specification: #{line}"
24+
end
25+
}
26+
return pods_ary
27+
end
28+
29+
target 'Runner' do
30+
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
31+
# referring to absolute paths on developers' machines.
32+
system('rm -rf .symlinks')
33+
system('mkdir -p .symlinks/plugins')
34+
35+
# Flutter Pods
36+
generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
37+
if generated_xcode_build_settings.empty?
38+
puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
39+
end
40+
generated_xcode_build_settings.map { |p|
41+
if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
42+
symlink = File.join('.symlinks', 'flutter')
43+
File.symlink(File.dirname(p[:path]), symlink)
44+
pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
45+
end
46+
}
47+
48+
# Plugin Pods
49+
plugin_pods = parse_KV_file('../.flutter-plugins')
50+
plugin_pods.map { |p|
51+
symlink = File.join('.symlinks', 'plugins', p[:name])
52+
File.symlink(p[:path], symlink)
53+
pod p[:name], :path => File.join(symlink, 'ios')
54+
}
55+
end
56+
57+
post_install do |installer|
58+
installer.pods_project.targets.each do |target|
59+
target.build_configurations.each do |config|
60+
config.build_settings['ENABLE_BITCODE'] = 'NO'
61+
end
62+
end
63+
end

ios/Podfile.lock

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
PODS:
2+
- Firebase/Auth (5.0.1):
3+
- Firebase/CoreOnly
4+
- FirebaseAuth (= 5.0.0)
5+
- Firebase/Core (5.0.1):
6+
- Firebase/CoreOnly
7+
- FirebaseAnalytics (= 5.0.0)
8+
- Firebase/CoreOnly (5.0.1):
9+
- FirebaseCore (= 5.0.1)
10+
- firebase_auth (0.0.1):
11+
- Firebase/Auth
12+
- Firebase/Core
13+
- Flutter
14+
- FirebaseAnalytics (5.0.0):
15+
- FirebaseCore (~> 5.0)
16+
- FirebaseInstanceID (~> 3.0)
17+
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
18+
- nanopb (~> 0.3)
19+
- FirebaseAuth (5.0.0):
20+
- FirebaseCore (~> 5.0)
21+
- GTMSessionFetcher/Core (~> 1.1)
22+
- FirebaseCore (5.0.1):
23+
- "GoogleToolboxForMac/NSData+zlib (~> 2.1)"
24+
- FirebaseInstanceID (3.0.0):
25+
- FirebaseCore (~> 5.0)
26+
- Flutter (1.0.0)
27+
- flutter_pdf_viewer (0.0.1):
28+
- Flutter
29+
- google_sign_in (0.0.1):
30+
- Flutter
31+
- GoogleSignIn (~> 4.0)
32+
- GoogleSignIn (4.1.2):
33+
- "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)"
34+
- "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)"
35+
- GTMOAuth2 (~> 1.0)
36+
- GTMSessionFetcher/Core (~> 1.1)
37+
- GoogleToolboxForMac/DebugUtils (2.1.4):
38+
- GoogleToolboxForMac/Defines (= 2.1.4)
39+
- GoogleToolboxForMac/Defines (2.1.4)
40+
- "GoogleToolboxForMac/NSData+zlib (2.1.4)":
41+
- GoogleToolboxForMac/Defines (= 2.1.4)
42+
- "GoogleToolboxForMac/NSDictionary+URLArguments (2.1.4)":
43+
- GoogleToolboxForMac/DebugUtils (= 2.1.4)
44+
- GoogleToolboxForMac/Defines (= 2.1.4)
45+
- "GoogleToolboxForMac/NSString+URLArguments (= 2.1.4)"
46+
- "GoogleToolboxForMac/NSString+URLArguments (2.1.4)"
47+
- GTMOAuth2 (1.1.6):
48+
- GTMSessionFetcher (~> 1.1)
49+
- GTMSessionFetcher (1.1.15):
50+
- GTMSessionFetcher/Full (= 1.1.15)
51+
- GTMSessionFetcher/Core (1.1.15)
52+
- GTMSessionFetcher/Full (1.1.15):
53+
- GTMSessionFetcher/Core (= 1.1.15)
54+
- nanopb (0.3.8):
55+
- nanopb/decode (= 0.3.8)
56+
- nanopb/encode (= 0.3.8)
57+
- nanopb/decode (0.3.8)
58+
- nanopb/encode (0.3.8)
59+
- path_provider (0.0.1):
60+
- Flutter
61+
- share (0.5.2):
62+
- Flutter
63+
- shared_preferences (0.0.1):
64+
- Flutter
65+
- url_launcher (0.0.1):
66+
- Flutter
67+
68+
DEPENDENCIES:
69+
- firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
70+
- Flutter (from `.symlinks/flutter/ios`)
71+
- flutter_pdf_viewer (from `.symlinks/plugins/flutter_pdf_viewer/ios`)
72+
- google_sign_in (from `.symlinks/plugins/google_sign_in/ios`)
73+
- path_provider (from `.symlinks/plugins/path_provider/ios`)
74+
- share (from `.symlinks/plugins/share/ios`)
75+
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
76+
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
77+
78+
SPEC REPOS:
79+
https://github.com/cocoapods/specs.git:
80+
- Firebase
81+
- FirebaseAnalytics
82+
- FirebaseAuth
83+
- FirebaseCore
84+
- FirebaseInstanceID
85+
- GoogleSignIn
86+
- GoogleToolboxForMac
87+
- GTMOAuth2
88+
- GTMSessionFetcher
89+
- nanopb
90+
91+
EXTERNAL SOURCES:
92+
firebase_auth:
93+
:path: ".symlinks/plugins/firebase_auth/ios"
94+
Flutter:
95+
:path: ".symlinks/flutter/ios"
96+
flutter_pdf_viewer:
97+
:path: ".symlinks/plugins/flutter_pdf_viewer/ios"
98+
google_sign_in:
99+
:path: ".symlinks/plugins/google_sign_in/ios"
100+
path_provider:
101+
:path: ".symlinks/plugins/path_provider/ios"
102+
share:
103+
:path: ".symlinks/plugins/share/ios"
104+
shared_preferences:
105+
:path: ".symlinks/plugins/shared_preferences/ios"
106+
url_launcher:
107+
:path: ".symlinks/plugins/url_launcher/ios"
108+
109+
SPEC CHECKSUMS:
110+
Firebase: d6861c2059d8c32d1e6dd8932e22ada346d90a3a
111+
firebase_auth: 27a5a77a032d557c18f8e223aaf8ec1368f6cdbc
112+
FirebaseAnalytics: 19812b49fa5f283dd6b23edf8a14b5d477029ab8
113+
FirebaseAuth: acbeef02fe7c3a26624e309849f3fe30c84115af
114+
FirebaseCore: cafc814b2d84fc8733f09e653041cc2165332ad7
115+
FirebaseInstanceID: 83e0040351565df711a5db3d8ebe5ea21aca998a
116+
Flutter: 9d0fac939486c9aba2809b7982dfdbb47a7b0296
117+
flutter_pdf_viewer: 7b564f5905dcc826b8681b96569ff69714ec7537
118+
google_sign_in: cbeb57b96679823d14df6b2240b629b983a42d79
119+
GoogleSignIn: d9ef55b10f0aa401a5de2747f59b725e4b9732ac
120+
GoogleToolboxForMac: 91c824d21e85b31c2aae9bb011c5027c9b4e738f
121+
GTMOAuth2: c77fe325e4acd453837e72d91e3b5f13116857b2
122+
GTMSessionFetcher: 5fa5b80fd20e439ef5f545fb2cb3ca6c6714caa2
123+
nanopb: 5601e6bca2dbf1ed831b519092ec110f66982ca3
124+
path_provider: 09407919825bfe3c2deae39453b7a5b44f467873
125+
share: 222b5dcc8031238af9d7de91149df65bad1aef75
126+
shared_preferences: 5a1d487c427ee18fcd3ea1f2a131569481834b53
127+
url_launcher: 92b89c1029a0373879933c21642958c874539095
128+
129+
PODFILE CHECKSUM: 1e5af4103afd21ca5ead147d7b81d06f494f51a2
130+
131+
COCOAPODS: 1.5.2

0 commit comments

Comments
 (0)