textileio / ios-textile

[DEPRECATED] iOS bindings for https://github.com/textileio/go-textile
MIT License
10 stars 6 forks source link

Retain fixes, destroy api, update go-textile dep #15

Closed asutula closed 5 years ago

asutula commented 5 years ago

Found some memory related bugs that were causing objects to hang around in memory and cause duplicate notifications when used in the RN sdk.

Added a destroy method to the api that clears out all in memory references, allowing Textile to be re-initialized if needed. Mostly useful for the RN sdk for when the JS is "reloaded" during development. Upcoming PR in the RN sdk repo showing how that works.

Updated to go-textile 0.1.12-rc3.

sanderpick commented 5 years ago

Same here... apologies for not getting here sooner @asutula. Great to have the update in!