Skip to content

Commit 8756b3d

Browse files
author
Alexander Vakrilov
authored
refactor: HMR and webpack improvements (#7462)
* chore: update project * refactor: clear module-name cache on orientation * feat: add custom component in qualifiers app * feat: enable HMR for custom components * refactor: remove redundant check * chore: clean console.log
1 parent d8ef044 commit 8756b3d

77 files changed

Lines changed: 349 additions & 168 deletions

Some content is hidden

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

e2e/file-qualifiers/app/App_Resources/Android/app.gradle

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
// Uncomment to add recyclerview-v7 dependency
44
//dependencies {
5-
// compile 'com.android.support:recyclerview-v7:+'
5+
// implementation 'com.android.support:recyclerview-v7:+'
66
//}
77

8-
android {
9-
defaultConfig {
8+
// If you want to add something to be applied before applying plugins' include.gradle files
9+
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
10+
// create a file named before-plugins.gradle in the current directory and place it there
11+
12+
android {
13+
defaultConfig {
14+
minSdkVersion 17
1015
generatedDensities = []
11-
applicationId = "org.nativescript.animation"
12-
}
13-
aaptOptions {
14-
additionalParameters "--no-version-vectors"
15-
}
16-
}
16+
}
17+
aaptOptions {
18+
additionalParameters "--no-version-vectors"
19+
}
20+
}

e2e/file-qualifiers/app/App_Resources/Android/AndroidManifest.xml renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
android:largeScreens="true"
1111
android:xlargeScreens="true"/>
1212

13-
<uses-sdk
14-
android:minSdkVersion="17"
15-
android:targetSdkVersion="__APILEVEL__"/>
16-
1713
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1814
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1915
<uses-permission android:name="android.permission.INTERNET"/>
@@ -28,7 +24,7 @@
2824
<activity
2925
android:name="com.tns.NativeScriptActivity"
3026
android:label="@string/title_activity_kimera"
31-
android:configChanges="keyboardHidden|orientation|screenSize"
27+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
3228
android:theme="@style/LaunchScreenTheme">
3329

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

e2e/file-qualifiers/app/App_Resources/Android/drawable-hdpi/background.png renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png

File renamed without changes.

e2e/file-qualifiers/app/App_Resources/Android/drawable-hdpi/icon.png renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png

File renamed without changes.

e2e/file-qualifiers/app/App_Resources/Android/drawable-hdpi/logo.png renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png

File renamed without changes.

e2e/file-qualifiers/app/App_Resources/Android/drawable-ldpi/background.png renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png

File renamed without changes.

e2e/file-qualifiers/app/App_Resources/Android/drawable-ldpi/icon.png renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png

File renamed without changes.

e2e/file-qualifiers/app/App_Resources/Android/drawable-ldpi/logo.png renamed to e2e/file-qualifiers/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png

File renamed without changes.
669 Bytes

0 commit comments

Comments
 (0)