-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: Demo project cleanup #87
Conversation
|
||
Install with `npm install -g npx` if not present already in your system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npx should come with npm if npm is already installed :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, added it just in case, I wasn't sure if npx was set up automatically when installing npm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it is these days, last 3-4 years or so?
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is Node.js, right? Perhaps we use the latest stable version of node ? If that's moving away from the general goa of this PR, we can leave it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed to setup npm on Github actions, not as much important to run the actual project, but just to have npm present when testing the project in GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of comments to consider, otherwise, looks good!
I didn't look too deeply in the auto generated code since that's not what you created but did do a rough review of it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall.
|
||
/** | ||
* Run Proguard to shrink the Java bytecode in release builds. | ||
* Set this to true to Run Proguard on Release builds to minify the Java bytecode. | ||
*/ | ||
def enableProguardInReleaseBuilds = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a react-specific setting, I think?
Is that also taking care of R8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was generated by the RN create command, haven't looked into it.
I only had to add the jettifier to true due to some 3rd party dependencies not supporting AndroidX libraries.
fix: Demo project cleanup
Description 📝
Type of change
Updates
demo
project usingnpx react-native init
..gitignore
and similar files.Screenshots 📷
Android Emulator screenshot:
iOS simulator screenshot:
Test plan 🧪
Author to check 👓
Reviewer to check ✔️