Comments (6)
Hello, currently the plugin doesn't use the config
argument provided by react-native-cli
I will be working on switching to it. But I will have to check that it remains backward compatible (see #6 )
from react-native-make.
I had the same issue.
The issue is due to https://github.com/bamlab/react-native-make/blob/master/src/modules/setSplashScreen/android/service.ts#L55 where the tool assumes the android source path is same as the package name.
You can hardcode your android source path in ./node_modules/@bam.tech/react-native-make/dist/modules/setSplashScreen/android/service.js
and it should work.
from react-native-make.
{
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: './android/app/src/main/java/com/app/MainActivity.java'
}
should be
{
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: './android/app/src/main/java/com/io.app.client/MainActivity.java'
}
from react-native-make.
anyone?
from react-native-make.
anyone?
You can make io.app.client
folder and behind the folder, copy MainActivity.java
file
After you generate splash images, remove it.
I resolve this issue in this way as a simple temporary solution.
from react-native-make.
Should be fixed by #25
from react-native-make.
Related Issues (20)
- Install error 'glib-object.h' file not found
- Generated android icons are not sharp? HOT 2
- Command in the latest version doesn't work on iOS
- black splash screen on iOS 14, iPhone 8 Plus HOT 2
- Blank black screen HOT 6
- Splash screen doesn't work on iOS HOT 2
- Question: react-native android app icons: why isn't the empty space around the image preserved? HOT 3
- How can I set notification icon?
- Android Adaptive Icons Are Incorrect HOT 1
- Splash screen not showing on iOS
- Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency HOT 2
- Push 3.0.1 to npm HOT 1
- Black splashscreen in Ios 14.4 HOT 6
- set-splash return an error "unsupported image format" about png file HOT 3
- Upgrade Sharop to 0.28.0 for compatibility fixes on M1 processors
- Splash screen feels "artificial" instead of native - blank screen still shows temporarily before splash image appears (Android)
- error: None of the input catalogs contained a matching launch image set named "LaunchImage".
- import is being duplicated in the set-splash command
- error Android project not found. HOT 2
- Android splash is skewed to the left
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-make.