I’ve just given the following a try and it seems to work. Basically the promise returned by Location.enableNetworkProviderAsync() doesn’t resolve to anything. It just either resolves or rejects depending on what the user did.
The above is what the documentation means by the following:
Returns
A promise resolving as soon as the user accepts the dialog. Rejects if denied.
This is as opposed to some of the other functions that return a promise that resolves to some object/array. e.g. Location.geocodeAsync(address)
Returns
Returns a promise resolving to an array (in most cases its size is 1) of geocoded location objects […]