Geraint White

Results 85 comments of Geraint White

This check also means it won't work for multiple targets. It updates both `Info.plist` files but only one of the targets in the `project.pbxproj`.

Using `--legacy` and setting `CURRENT_PROJECT_VERSION` in the project rather than the targets seems to do the trick.

I have a working solution which I am using in my app and I am interested in sharing it as a PR to this lib - the only caveat is...

> Thanks a lot for this one! However, is it possible for you to migrate the module to ObjC? There's already too much languages on this repository (ObjC, Java, TypeScript,...

It's occurred to me that checking the permission will only return an accurate result **after** requesting it, as the only way to check it is by requesting it first and...

@zoontek something like this? ```objc #import "RNPermissionHandlerLocalNetworkPrivacy.h" #import "LocalNetworkPrivacy.h" @implementation RNPermissionHandlerLocalNetworkPrivacy + (NSArray *_Nonnull)usageDescriptionKeys { return @[ @"NSLocalNetworkUsageDescription" ]; } + (NSString *_Nonnull)handlerUniqueId { return @"ios.permission.LOCAL_NETWORK_PRIVACY"; } - (void)checkWithResolver:(void (^_Nonnull)(RNPermissionStatus))resolve...

I've moved the network request from requestWithResolver into checkWithResolver so it doesn't get called twice.

@bintoll hmm you are correct - it's happening because there is no way to detect when the user presses decline, so we have a timer which automatically returns denied after...

@felipemillhouse this works for me in debug mode, but not when building a release build from Xcode. Have you experienced this? ``` Error: Unexpected token: name (_28) in file node_modules/color/index.js...

Very strange. I'm on `"react-native": "0.66.3"` and `"color": "4.0.2"`. Works perfectly archiving once I add a custom minifier copied from [here](https://github.com/facebook/metro/blob/main/packages/metro-minify-uglify/src/minifier.js) but replacing `uglify-es` with `uglify-js`. `minifierPath: require.resolve('./config/minifier')`