-
Notifications
You must be signed in to change notification settings - Fork 50
Conversation
Fix motion tracking on iOS
This is looking great, at the moment I won't be able to test it though. But if you're feeling confident I'd be willing to merge it! |
It still has some of the breaking changes I mentioned in the other PR:
So there are these breaking changes, I wouldn't like to get blamed for these if other people are using the library. Having said that, I've been using the branch for a while and it works great. |
Hey, I'm using @cristianoccazinsp branch and so far everything seems to be working properly, I will also validate on iOS once possible, but on android had zero problems with it |
I can confirm this branch is working on iOS and RN 0.63.2. |
Hey guys, there's one more "improvement" I have pending on this branch, which is basically moving everything to Swift (and get rid of the intermediary objective-c View and modules). This makes the component more readable and gets rid of some import issues (that forces you to clean and build) due to swift headers. But I've been working on another swift module so this is a big todo for me. |
Hey @cristianoccazinsp, this maybe wrong thread but since you were talking about improvements, would you have an idea why RAM usage is high when using this module? Are 360 images very ram intensive? Like I was seeing a 250MB jump in RAM. |
@adnansyedimadi I can't really tell. I guess the whole Scene kit and sensors stuff may explain the memory spikes. Also 360 images being decoded and loaded into memory are much bigger at the end, and I don't think there's any bitmap resizing / optimization in place to shrink images to the screen resolution, so that also can add significant work to the device. |
Thanks for your great work @cristianoccazinsp I've merged these changes into master and released @lightbase/[email protected] to npm. I also took the liberty to invite you as a maintainer since you're already so involved with the library. |
@rodymolenaar thanks for the merge! I'm trying to use this new merge as opposed to my own branch, but looks like there are some issues. I am getting [!] No podspec found for Update: Looks like just a bug with how podspec name and actual file name. I will see about fixing this in another branch together with a full migration to Swift. |
@rodymolenaar I'm not sure if you're still interested in merging these changes to support finger + orientation rotation (#29).
However, I'm uploading a new PR which vendors the CTPanoramaView into this same library to make development easier since that repo seems dead / not willing to accept new changes.
No new changes (from the original PR), except a bump to iOS 10 (to match RN updates) and config updates to support swift + objc in the same project.