Hello,
I implement quick look plugin code with my enterprise app. Here is the main code that is required for Quick Look popup(as per plugin document)
My Code is:
local function quickLookListener( event ) print( "name: ", event.name ) print( "action: ", event.action ) print( "type: ", event.type ) end -- Options to pass to the quick look popup local popupOptions = { files = { { filename = "PrivacyPolicy.pdf", baseDir = system.ResourceDirectory }, }, startIndex = 1, listener = quickLookListener, } local popupIsAvailable = native.canShowPopup( "quickLook" ) print("popupIsAvailable == ",popupIsAvailable) if popupIsAvailable then -- Show the quick look popup native.showPopup( "quickLook", popupOptions ) end
I got in log :
popupIsAvailable == false
I am using corona Enterprise
xcode version --> 6.3.1
ios version —> 8.3
device --> iPhone 5s
build okay and install on my iPhone okay, but can’t see anything.
I didn’t added any framework for quick look .
Can anyone help me please what is wrong with this sample or plugin code ?
is there anything to include, any framework or anything ?
iPhone 5s can not open quick look plugin ?
Thank you.
Bhavin