Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Android implementation for Linking.sendIntent()
Summary: Changelog: [Android][Fixed] - Fix Extras usage in Android implementation of Linking.sendIntent() The implementation of sendIntent() has a bug in a way it uses extras map. From JS layer the API sends and array of map, where each map contains exactly 2 entries: {"key" -> "name_of_extra_to_use", "value" -> value_of_extra_to_use} However Java parsing was just picking a random pair out of this map and was sending it as extra. Most frequently the result was "value" -> value_of_extra_to_use in Intent instead of name_of_extra_to_use -> value_of_extra_to_use This diff fixes the problem Reviewed By: lunaleaps Differential Revision: D35516496 fbshipit-source-id: 7da0a1cb3b8aa30463004dbb47008c83d8e95bd1
- Loading branch information