abidibo.net

Posted in "react-native"

React Native: Print: Entry, ":CFBundleIdentifier", Does Not Exist

react-native

So you've run

$ react-native run-ios

and you got:

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MYAPP.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

TL;DR

Just stop running that command again and again and try to build the project directly from xcode, you'll grasp more detailed information.

Tip

This is fucking pain ...

read the full post


react-native-location-manager

geolocation react-native react-native-location-manager

Managing location related tasks inside a react-native project can be quite frustrating. I've encountered many problems, for example when getCurrentPosition was always returning me a cached position object, despite of my configurations. For this reason I wrote a getLocation function that tries to incapsulate all the code needed to get a reliable position with a fallback to low accuracy mode.

But getting the real location is only a part of the story, which consists of many other tasks:

  • authorize the app to access location
  • enable location setting if disabled
  • inform the user about what it's going on
  • ...

So I finally decide to wrote a reusable component which tries to manage all this stuff in one place, which makes use of ...

read the full post


Geolocation with react-native

geolocation react-native

Checkout the package I've uploaded on npm to manage all geolocation stuff in react-native: react-native-location-manager!

I've had many problems with react-native geolocation module.

In particular I faced a weird behaviour of the getCurrentPosition method: while the world was lamenting timeout problems, probably due to the fact that gps tracking is not fast at all in closed spaces, my problem was that with highAccuracy set to true, the returned value was always a cached one, no matter how I set maxAge ...

read the full post


  • 1

Your Smartwatch Loves Tasker!

Your Smartwatch Loves Tasker!

Now available for purchase!

Featured