Skip to content

Commit

Permalink
Merge pull request #41 from NathanWalker/fix/esm-build
Browse files Browse the repository at this point in the history
fix: esm build and other updates
  • Loading branch information
dotnetdreamer authored Apr 25, 2022
2 parents 76474d8 + 1e4cf9d commit f130ccd
Show file tree
Hide file tree
Showing 19 changed files with 23,561 additions and 5,836 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@
android:requestLegacyExternalStorage="true"
android:networkSecurityConfig="@xml/network_security_config">

<provider android:name="androidx.core.content.FileProvider" android:authorities="${applicationId}.fileprovider" android:exported="false" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider>

<activity
android:name="com.tns.NativeScriptActivity"
android:label="@string/title_activity_kimera"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
android:theme="@style/LaunchScreenTheme">
android:theme="@style/LaunchScreenTheme"
android:launchMode="singleTask"
android:exported="true">

<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />

Expand Down
18 changes: 18 additions & 0 deletions demo-angular/App_Resources/Android/src/main/res/xml/file_paths.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path
name="external"
path="." />
<external-files-path
name="external_files"
path="." />
<cache-path
name="cache"
path="." />
<external-cache-path
name="external_cache"
path="." />
<files-path
name="files"
path="." />
</paths>
Loading

0 comments on commit f130ccd

Please sign in to comment.