expo-print
Advanced tools
Comparing version 7.0.0 to 8.0.0
@@ -9,3 +9,3 @@ import { Platform } from 'react-native'; | ||
} | ||
if (!options.uri && !options.html && (Platform.OS === 'ios' && !options.markupFormatterIOS)) { | ||
if (!options.uri && !options.html && Platform.OS === 'ios' && !options.markupFormatterIOS) { | ||
throw new Error('Must provide either `html` or `uri` to print'); | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "expo-print", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "Provides an API for iOS (AirPrint) and Android printing functionality.", | ||
@@ -34,3 +34,3 @@ "main": "build/Print.js", | ||
"jest": { | ||
"preset": "expo-module-scripts" | ||
"preset": "expo-module-scripts/ios" | ||
}, | ||
@@ -42,5 +42,5 @@ "unimodulePeerDependencies": { | ||
"expo-module-scripts": "~1.1.1", | ||
"babel-preset-expo": "~7.0.0" | ||
"babel-preset-expo": "~8.0.0" | ||
}, | ||
"gitHead": "4e13b3cb88d9205f14bee7764038ab2dd9ef1fbd" | ||
"gitHead": "ec7878b9ce54f2537721218ae0fe4017e4004806" | ||
} |
@@ -21,3 +21,3 @@ # expo-print | ||
``` | ||
npm install expo-print | ||
expo install expo-print | ||
``` | ||
@@ -24,0 +24,0 @@ |
@@ -21,3 +21,3 @@ import { Platform } from 'react-native'; | ||
} | ||
if (!options.uri && !options.html && (Platform.OS === 'ios' && !options.markupFormatterIOS)) { | ||
if (!options.uri && !options.html && Platform.OS === 'ios' && !options.markupFormatterIOS) { | ||
throw new Error('Must provide either `html` or `uri` to print'); | ||
@@ -24,0 +24,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57600