Comments (4)
@ThalesBMC that is wild, I remember there was something like yarn link [library-name]
it was used to link native android libs, is that still an option,
Thanks Thales 👌
from react-native-theme-switch-animation.
that is very old version, it could be the problem, but are you sure you did the pod install step?
Yep, It's probably the old version.
When I update to a new version I will test again.
from react-native-theme-switch-animation.
I've identified a solution for manual linking of the react-native-theme-switch-animation
library in older versions, which is necessary due to the use of the turbo package. Here are the steps for both iOS and Android platforms:
iOS:
- Update your
Podfile
with the following line:pod 'react-native-theme-switch-animation', :path => '../node_modules/react-native-theme-switch-animation'
Android:
Modify your android/app/build.gradle file to include:
implementation project(':react-native-theme-switch-animation')
Update your settings.gradle file with:
include ':react-native-theme-switch-animation'
project(':react-native-theme-switch-animation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-theme-switch-animation/android')
MainApplication.java, import and add ThemeSwitchAnimationPackage to the packages list:
import com.themeswitchanimation.ThemeSwitchAnimationPackage;
packages.add(new ThemeSwitchAnimationPackage());
from react-native-theme-switch-animation.
that is very old version, it could be the problem, but are you sure you did the pod install step?
from react-native-theme-switch-animation.
Related Issues (9)
- expo go support? HOT 3
- [IOS] Theme Switch Animation + Drawer Navigator HOT 2
- wrong position on Android HOT 5
- Support for node 16? HOT 4
- [iOS] UI issue. The borders flickering with the shadow during transition. HOT 6
- Add reverse circle HOT 1
- Feature request: expo config plugin HOT 2
- Issue with Package Compatibility in React Native when using BlurView in Components HOT 2
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-theme-switch-animation.