expo-pixi
expo-pixi copied to clipboard
feat: make this package work
This is a refactor of expo-pixi
package.
It fixes several issues, noticeably:
- Locks in the latests compatible versions of
pixi.js
andpixi-filters
:- Fixes https://github.com/expo/expo-pixi/issues/158;
- Fixes peer dependencies of
expo-asset
andexpo-gl
:- Fixes https://github.com/expo/expo-pixi/issues/221
- Fixes https://github.com/expo/expo-pixi/issues/222
- Fixes https://github.com/expo/expo-pixi/issues/156
- Fixes https://github.com/expo/expo-pixi/issues/61 (
expo-asset-utils
is no longer needed)
- Fixes loading assets on production & fixes assets URLs on Android:
- Fixes https://github.com/expo/expo-pixi/issues/103
- Fixes https://github.com/expo/expo-pixi/issues/92
- Fixes https://github.com/expo/expo-pixi/issues/66
Additionally, it adds a few features:
- TypeScript support:
- Fixes https://github.com/expo/expo-pixi/issues/145
- Up-to-date examples:
- Fixes https://github.com/expo/expo-pixi/issues/136
- Fixes https://github.com/expo/expo-pixi/issues/86
- Fixes https://github.com/expo/expo-pixi/issues/53
- Adds support for Web (every example is working on both mobile & web):
- Fixes https://github.com/expo/expo-pixi/issues/72
- Removes side-effects by just exporting
PIXI
instead of messing with the global scope; - Built with
expo-module-scripts
;
Breaking changes:
- It removes
Spine
,Signature
,Sketch
andFilterImage
. I think it's reasonable forexpo-pixi
to just add support forpixi.js
in Expo and do nothing more. Removed components can be easily reexported to their own packages to prevent the bloating ofexpo-pixi
package. Removing this bloat will also close a lot of issues.
Closes https://github.com/expo/expo-pixi/pull/78 Closes https://github.com/expo/expo-pixi/pull/113
Any update on this?
Any update, this PR is really needed for me
What does it mean that "Removed components can be easily reexported to their own packages..."?
I only need the Signature
component to work.
How would I get it to work?
Any update on this?
Any update, this PR is really needed for me
Honestly, I think this repository is dead. I'd recommend you simply copy the source code of my fork directly to your project.
What does it mean that "Removed components can be easily reexported to their own packages..."? I only need the
Signature
component to work. How would I get it to work?
I wanted to make this package as simple as possible. I decided to just keep the pixi.js
abstraction and remove all additional React components, including Signature
. Once this is merged, you'd have to copy Signature.js
to your project.