Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context generics, types name refactor #1496

Merged
merged 38 commits into from
Apr 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1436681
add fail sdk test
Marius456 Mar 13, 2024
aeaecea
Bump follow-redirects from 1.15.5 to 1.15.6
dependabot[bot] Mar 17, 2024
ad634a6
add success test
Marius456 Mar 19, 2024
0bb4f5b
fix android styles, colors
ElenaDiachenko Mar 19, 2024
7a57a5c
fix all android based platforms
ElenaDiachenko Mar 19, 2024
51ac1c4
update tests
Marius456 Mar 19, 2024
223f6b0
add variations of test
Marius456 Mar 19, 2024
aab7c89
update test
Marius456 Mar 20, 2024
9a6c9cd
fix target not found test
Marius456 Mar 20, 2024
b64c92b
add isSystem to context
Marius456 Mar 20, 2024
444d8e3
Merge branch 'release/1.0' into chore/UT_sdk_webos_device_manager
Marius456 Mar 20, 2024
33bfd3d
small fix
Marius456 Mar 20, 2024
930c080
fix UT due to migration to getContext DI
Marius456 Mar 20, 2024
bf3eb39
Bump webpack-dev-middleware from 5.3.3 to 5.3.4
dependabot[bot] Mar 23, 2024
e43aad4
add styles_xml generating
ElenaDiachenko Mar 23, 2024
b1ef487
fix _parseNode func, add strings_xml and colors_xml generating
ElenaDiachenko Mar 24, 2024
98d915d
fix schema
ElenaDiachenko Mar 24, 2024
b6fe66c
fix all strings_xml and colors_xml for android based platforms
ElenaDiachenko Mar 25, 2024
4dc38f2
clean code
ElenaDiachenko Mar 25, 2024
b213320
fix android e2e
Marius456 Mar 26, 2024
8866e8d
refactor getConfigProp to be extendable trough context generics
pavjacko Apr 7, 2024
c59b806
Merge branch 'release/1.0' of github.com:flexn-io/renative into relea…
pavjacko Apr 7, 2024
5e21159
migrate to new contextProps
pavjacko Apr 7, 2024
b7bcd58
Merge branch 'fix/android_resources' into chore/config_generics
pavjacko Apr 7, 2024
b469347
update type names, pathNames, merge fixes
pavjacko Apr 7, 2024
2dff97e
Merge branch 'chore/UT_sdk_webos_device_manager' into chore/config_ge…
pavjacko Apr 7, 2024
de979bc
cleanup core mocks, fix UTs
pavjacko Apr 7, 2024
7e0ba5d
cleanup test structure
pavjacko Apr 7, 2024
09a34be
Merge pull request #1480 from flexn-io/dependabot/npm_and_yarn/webpac…
pavjacko Apr 7, 2024
a09c627
Merge pull request #1472 from flexn-io/dependabot/npm_and_yarn/follow…
pavjacko Apr 7, 2024
9551175
update buildConfig merges
pavjacko Apr 8, 2024
4a1da61
fix private configs
pavjacko Apr 8, 2024
6d0828e
fix asset copy, cleanup resources
pavjacko Apr 8, 2024
38c9059
add multi-folder resources support spec
pavjacko Apr 8, 2024
51d3df7
Merge branch 'chore/config_generics' of github.com:flexn-io/renative …
pavjacko Apr 8, 2024
99365b5
update, fix schema
pavjacko Apr 8, 2024
7bb4296
cleanup
pavjacko Apr 8, 2024
70c4da6
fix manifest merging
pavjacko Apr 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add multi-folder resources support spec
  • Loading branch information
pavjacko committed Apr 8, 2024
commit 38c9059dcf8c2da62bfaded64c71bb05338115c2
100 changes: 100 additions & 0 deletions packages/sdk-android/templateFiles/resources.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"values": {
"colors_xml": {
"tag": "resources",
"children": [
{
"tag": "color",
"name": "bg",
"value": "{{PLUGIN_COLORS_BG}}"
}
]
},
"strings_xml": {
"tag": "resources",
"children": [
{
"tag": "string",
"name": "app_name",
"value": "{{APP_TITLE}}"
}
]
},
"styles_xml": {
"tag": "resources",
"children": [
{
"tag": "style",
"name": "AppTheme",
"parent": "Theme.AppCompat.DayNight.NoActionBar",
"children": [
{
"tag": "item",
"name": "android:editTextBackground",
"value": "@drawable/rn_edit_text_material"
},
{
"tag": "item",
"name": "android:windowBackground",
"value": "@color/bg"
}
]
},
{
"tag": "style",
"name": "SplashTheme",
"parent": "Theme.AppCompat.NoActionBar",
"children": [
{
"tag": "item",
"name": "android:windowBackground",
"value": "@color/bg"
}
]
}
]
}
},
"values-v28": {
"styles_xml": {
"tag": "resources",
"children": [
{
"tag": "style",
"name": "AppTheme",
"parent": "Theme.AppCompat.DayNight.NoActionBar",
"children": [
{
"tag": "item",
"name": "android:editTextBackground",
"value": "@drawable/rn_edit_text_material"
},
{
"tag": "item",
"name": "android:windowBackground",
"value": "@color/bg"
},
{
"tag": "item",
"name": "android:windowLayoutInDisplayCutoutMode",
"value": "shortEdges"
}
]
},
{
"tag": "style",
"name": "SplashTheme",
"parent": "Theme.AppCompat.NoActionBar",
"children": [
{
"tag": "item",
"name": "android:windowBackground",
"value": "@color/bg"
}
]
}
]
}
}

}