the method to call is actually initializeFirestore - native lets us call that any time in order to change settings, contrary to the JS SDK documentation, but the API does match the JS API so we meet our "API compatible" goal, and are just a bit more permissive on when it may be invoked.
You should be able to use that and see the ignoreUndefinedProperties setting take hold
Originally posted by @mikehardy in #8744 (comment)