Skip to content

Commit 514eef5

Browse files
committed
feat: add export to csv - save file
1 parent 665e97c commit 514eef5

14 files changed

Lines changed: 439 additions & 18 deletions

android/.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/jarRepositories.xml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/capacitor.build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ android {
99

1010
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
1111
dependencies {
12-
12+
implementation project(':capacitor-filesystem')
13+
implementation "com.android.support:support-v4:27.+"
1314
implementation "com.android.support:support-v4:27.+"
1415
}
1516
apply from: "../../node_modules/phonegap-plugin-barcodescanner/src/android/barcodescanner.gradle"

android/app/src/main/AndroidManifest.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44

55
<application
66
android:allowBackup="true"
7+
android:usesCleartextTraffic="true"
8+
android:requestLegacyExternalStorage="true"
79
android:icon="@mipmap/ic_launcher"
810
android:label="@string/app_name"
9-
android:roundIcon="@mipmap/ic_launcher_round"
1011
android:supportsRtl="true"
1112
android:theme="@style/AppTheme">
1213

1314
<activity
1415
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
1516
android:name="ar.codize.afip.MainActivity"
16-
android:label="@string/title_activity_main"
17+
android:label="Codize AFIP"
1718
android:theme="@style/AppTheme.NoActionBarLaunch"
1819
android:launchMode="singleTask">
1920

@@ -38,4 +39,12 @@
3839
<!-- Permissions -->
3940

4041
<uses-permission android:name="android.permission.INTERNET" />
42+
<!-- Camera, Photos, input file -->
43+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
44+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
45+
<!-- Network API -->
46+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
47+
<!-- Navigator.getUserMedia -->
48+
<!-- Video -->
49+
<uses-permission android:name="android.permission.CAMERA" />
4150
</manifest>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
[]
1+
[
2+
{
3+
"pkg": "@capacitor/filesystem",
4+
"classpath": "com.capacitorjs.plugins.filesystem.FilesystemPlugin"
5+
}
6+
]

android/app/src/main/res/xml/config.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@
22
<widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
33
<access origin="*" />
44

5+
<feature name="FileOpener2">
6+
<param name="android-package" value="io.github.pwlin.cordova.plugins.fileopener2.FileOpener2"/>
7+
</feature>
8+
9+
<feature name="BarcodeScanner">
10+
<param name="android-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner"/>
11+
</feature>
12+
513

614
</widget>

android/capacitor.settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
22
include ':capacitor-android'
33
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
4+
5+
include ':capacitor-filesystem'
6+
project(':capacitor-filesystem').projectDir = new File('../node_modules/@capacitor/filesystem/android')

angular.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
"budgets": [
4444
{
4545
"type": "initial",
46-
"maximumWarning": "500kb",
47-
"maximumError": "1mb"
46+
"maximumWarning": "2mb",
47+
"maximumError": "3mb"
4848
},
4949
{
5050
"type": "anyComponentStyle",
51-
"maximumWarning": "2kb",
52-
"maximumError": "4kb"
51+
"maximumWarning": "200kb",
52+
"maximumError": "400kb"
5353
}
5454
],
5555
"fileReplacements": [

0 commit comments

Comments
 (0)