It refers to __dir__, which means that the podspec which is generated on each developers machine will look different, since it contains the full path to the package inside node_modules.
This means that each developer will generate a different Podfile.lock file, since the hash of the Pod will contain the local folder.
Solution
Most other react native packages seem to put the github URL as the source:
Description
See this line: https://github.com/regulaforensics/react-native-document-reader/blob/dc7a708281f04d1dbaa99b7960a223fa968eafa8/RNDocumentReaderApi.podspec#L14
It refers to
__dir__
, which means that the podspec which is generated on each developers machine will look different, since it contains the full path to the package insidenode_modules
. This means that each developer will generate a differentPodfile.lock
file, since the hash of the Pod will contain the local folder.Solution
Most other react native packages seem to put the github URL as the source: