Find downloaded file from cordova-plugin-file-transfer - ios

Using cordova-plugin-file-transfer I'm able to download files. But how can I access those files outside the application? It's a pdf. I open the iBook app but I can't find the file I just finished downloading. I believe it has something to do with the download path.
Can someone help me figure this out?
This is what I've done to download the file: Cordova / Ionic - Download file from InAppBrowser
Thank you :]

Related

how to save file from an iOS react native app to Files folder

I created a pdf file in my react native app for iOS devices, and also I can open the file in my application because it saved in Documents directory of internal storage of my application, but I want to save the file to Files folder in iOS and open it with other applications, how can I do it?
thank for your attention.
For IOS you should open share options and save the file to the Files folder. For this you can use 'react-native-share' library. If you are using Expo, use 'expo-share'. Please check below documentation.
https://www.npmjs.com/package/react-native-sharing
https://docs.expo.dev/versions/latest/sdk/sharing/

Cant update my ios app (cant upload the .ipa file to Application Loader)

Once i try to upload my .ipa file to application loader i get error that say:
Application Loader is unable to upload your package
my.bundle.id' is correct.
and i cannot figure out why it keeps giving me this error.
Thank you for any help.
NOTE: I used react-native to develop my app (if it changes anything...)

Sencha Architect iOS app location

I am working in Sencha Architect and when I click "Build iOS app" there are no errors and I get the message Package succesfull.
However I cannot find where the ".ipa" file is located.
Am I supposed to upload it manually to Phonegap?
Here is the output:
http://pastebin.com/z45vLARX
Thank you.
I believe it will produce a .app file and not an ipa. However I recommend not using the built-in packager as it's soon to be deprecated. I'd use phonegap with Sencha Cmd
http://phonegap.com/blog/2013/11/20/SenchaPhoneGap/
http://docs-origin.sencha.com/touch/2.3.0/#!/guide/cordova
if you are using Architect:
http://www.sencha.com/forum/showthread.php?282369-Sencha-Architect-3x-with-Cordova-PhoneGap

Can I deploy Cocoa http server with my phonegap/cordova IOS app

I have an IOS app built with phonegap/cordova 2.1.0 and I would like to use a cocoahttpserver running with the app so that encrypted locally stored video can be streamed from the cocoahttpserver to the app.
This may seem like overkill and please advise me if it is but the reason I want to do this is so that I can stream encrypted segmented video which has been prepared using Apple's mediafilesegmenter and which is locally stored on the device.
I have already tried to play the encrypted video by using a video tag to call the .m3u8 file but this only works over http and not from the local filesystem.
Could you please point me in the right direction to deploy the cocoahttpserver with my app.
Many thanks
I have now successfully integrated phonegap/cordova and cocoahttpserver into one ios App. These were the steps:
1) place the cocoahttpserver project in the phonegap project, for example in Externals/cocoahttpserver and keep the whole project there so it can be easily updated from the master repository at a later date if needed.
2) Open the phonegap project in Xcode and add the Externals directory to the header search paths by clicking on the phonegap project target, and adding 'Externals' as a recursive path in 'Header Search Paths'
3) In the target build phases for the phonegap app add all needed .m files from cocoahttpserver in 'Compile Sources'. These are all the files in Core, Vendor and Samples/iPhoneHTTPServer. Do not add iPhoneHTTPServerAppDelegate.m or iPhoneHTTPServerViewController.m
4) By looking at the iPhoneHTTPServerAppDelegate.m and the phonegap AppDelegate.m side by side try to merge the two together so that the server is instantiated in phonegap's AppDelegate.m Do not instantiate a iPhoneHTTPServerViewController.m as you won't need this blank view. Also I had to include standard Libraries libxml2.dlyb and Security.framework to my phonegap build phases
5) In your AppDelegate.m you can set the server web path to any directory you like. Make sure this directory is copied on build
Hope this helps someone :)

Packaging a BlackBerry App for Release

I'm currently using the BB Plugin for Eclipse and am trying to generate a package without any .debug files and only one .cod and one .jad file to send to a client.
I'm a bit stuck on how to do this, I can't find a 'release build' setting and am having trouble finding any documentation on how to accomplish this or if I'm even on the right track.
Right click over your project, select "BlackBerry -> Package Project(s)"
In case it doesn't sign automatically, right click again, "BlackBerry -> Sign with signature tool"
Look for the generated "deliverables" folder in your project package explorer, then select the files for OTA deployment (inside "Web" folder). There you'll find one or more sibling cods and the correct jad descriptor.
profit
For OTA installation:
1. unzip your COD file.
2. now you got number of cod files like xyz.COD, xyz-1.COD, xyz-2.COD ... etc.
3. open your .jad file and verify listed .COD fils are mentioned in .jad file or not
4. upload all .COD files and .jad file in same location on web
5. open the .jad location on mobile device
Note: If your .jad file having incorrect .COD listed or still getting error then first delete your .jad file and .COD file and clean your project and then rebuild your project then follow above steps.
First of all sign the application, after signing it upload the project on to your server and after uploading it take the .jad file and make a link of the path of the project where it is uploaded and then give that to the client and then he can download the application from there and can install it.
When we sign Blackberry Application successfully we can able to install that app in device and also able to upload to our Server or Blackberry App world. we have just need .cod & .jar file to upload in BB app world as well as in device . you r going on the right way .. Go ahead .

Resources