-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Missing Info.plist update
This is more a suggestion than an issue.
Within the getting started section of this repository it doesn't mention making any changes to the Info.plist file.
When trying to setup this package I go the following console logs :
LOG Printer could not be accessed
LOG Printer is dead [Error: A problem occured when trying to execute discoverPrinters]
After observing the changes in Info.plist and updating the one for my project the issue resolved itself. However it isn't immediately clear that this error is to do with missing usage requests so an update to the getting started would be helpful.
Changes needed for this repository
These are the differences I noted between the Info.plist generated by react on my project and those in the example directory
// Info.plist changes
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
<key>NSBonjourServices</key>
<array>
<string>_pdl-datastream._tcp</string>
<string>_printer._tcp</string>
<string>_ipp._tcp</string>
</array>
<key>NSLocalNetworkUsageDescription</key>
<string>$(PRODUCT_NAME) needs access to use local network</string>
Note : The NSExceptionDomains key may not be necessary for this package to function as intended, these are just the differences I observed
mikeblanton
Metadata
Metadata
Assignees
Labels
No labels