Committed by
David PHAM-VAN
Update documentation related to macOS print entitlement
Showing
1 changed file
with
8 additions
and
1 deletions
@@ -34,7 +34,14 @@ for documentation. | @@ -34,7 +34,14 @@ for documentation. | ||
34 | target 'Runner' do | 34 | target 'Runner' do |
35 | use_frameworks! # <-- Add this line | 35 | use_frameworks! # <-- Add this line |
36 | ``` | 36 | ``` |
37 | -4. For MacOS add printing capability by opening macos directory in XCode | 37 | + |
38 | +4. For macOS applications, add the following print entitlement to the files | ||
39 | + `macos/Runner/Release.entitlements` and `macos/Runner/DebugProfile.entitlements`: | ||
40 | + | ||
41 | + ```xml | ||
42 | + <key>com.apple.security.print</key> | ||
43 | + <true/> | ||
44 | + ``` | ||
38 | 45 | ||
39 | 5. If you want to manually set the PdfJs library version for the web, a javascript | 46 | 5. If you want to manually set the PdfJs library version for the web, a javascript |
40 | library and a small script has to be added to your `web/index.html` file, just | 47 | library and a small script has to be added to your `web/index.html` file, just |
-
Please register or login to post a comment