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

fix: add back splash activity #1167

Merged
merged 5 commits into from
Oct 16, 2023
Merged

fix: add back splash activity #1167

merged 5 commits into from
Oct 16, 2023

Conversation

kasinskas
Copy link
Collaborator

@kasinskas kasinskas commented Oct 13, 2023

error i was getting:

│ [ error ] [configure] Cannot write file. source path doesn't exists: renative/packages/engine-rn/templates/platforms/android/app/src/main/java/rnv/SplashActivity.kt

@@ -173,13 +173,14 @@ export const parseMainActivitySync = (c: any) => {
export const parseSplashActivitySync = (c: Context) => {
const appFolder = getAppFolder(c);
const { platform } = c;
const splashPath = 'app/src/main/java/rnv/SplashActivity.kt';
const splashTemplatePath = 'app/src/main/java/rnv_template/SplashActivity.java.tpl';
const splashPath = 'app/src/main/java/rnv/SplashActivity.java';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kasinskas the destination path needs to be inside the correct folder, like src/main/java/com/app/...., check

const javaPackagePath = `app/src/main/java/${javaPackageArray.join('/')}`;

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Base automatically changed from fix/gradle_overrides to main October 13, 2023 17:36
* main:
  chore: update gradle overrides default values
  add NDK_VERSION dyna prop
@mihaiblaga89 mihaiblaga89 self-assigned this Oct 16, 2023
@mihaiblaga89 mihaiblaga89 merged commit 781b06e into main Oct 16, 2023
3 checks passed
@pavjacko pavjacko added this to the 1.0 milestone Dec 8, 2023
@pavjacko pavjacko deleted the fix/splash-activity branch February 14, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants