Disable photo sharing in IOS, Ionic2 native Photo Viewer plugin - ionic-framework

I am using photo viewer plugin in Ionic-native in an Ionic2 app.
My code is this._photoViewer.show(bookImgPath, '', {share: false});
I have disabled the sharing, but sharing is enabled on Ios.
It is working in Android only.
Please help.

Unfortunately, you can do that for Android only.There is No support for iOS yet.
Optionally you can pass third parameter which can be used to hide the
share button [ONLY FOR ANDROID]
Official PhotoViewer Cordova Plugin Doc

Related

Is there a screen sharing package of Flutter?

I want to create a screen sharing application (iOS / Android) without full control. Just share their screens, like screen sharing in Skype.
Does anyone know how to use Screen sharing with flutter?
Do I have to use native code?
Or can I use agora.io SDK for this purpose?
Thanks!
Agora SDK does seem to be capable of screen sharing. However, Agora's Flutter SDK needs to use Platform Views so you'll be required to use platform-specific code. You can follow the guide shared in this thread for more details on screen sharing using Agora SDK on iOS and Android with Flutter.

Adding GDPR Consent Dialog to a Flutter app

Is there anything available to add a GDPR consent Dialog using Flutter? The firebase_admob plugin has some properties for adding nonPersonalizedAds or not but thats about it.
I haven't noticed an SDK or anything for Flutter like they have for Android and iOS. Has anyone added a consent somehow on their own or did it separately for Android and then iOS
Any help is greatly appreciated.
i write simple library for flutter that show GDPR dialog for user.
This library works only with android platform now. IOS version coming soon.
Link:
https://pub.dev/packages/gdpr_dialog#-readme-tab-

Ionicframework photo editor

I am trying to add a photo editor functionality to my ionic framework application. How ever I couldn't find a decent sdk that goes with it. I'd like add
aviary/creative
sdk but there is not an obvious way to do it. I tried angular-aviary plugin for cordova but that is not working anymore. Please help me find a good photo editor sdk that works with cordova/ionic framework. Any help would be appreciated, thanks...
I've spent about a week looking for the same thing. Beyond the Creative SDK there is also the img.ly PhotoEditor SDK which offers Android, IOS, and HTML5 as well. But as with Creative none of it is easily compatible with Ionic. I'm still looking for a solution but would be very interested if others have ideas as well!
Have a look at the PhotoEditor SDK Cordova Plugin Demo and the guide for integrating the editor under Ionic and Cordova to get an idea of how to get the editor working under Ionic. Basically, it works like this:
The idea is to create a Cordova app that allows the user to open an image from their photo library and edit this image using the PhotoEditor SDK on iOS and Android. This is done by using an existing library to access native photo pickers on both platforms and passing the path to the found image to a plugin. The plugin manages the configuration and opening of the PhotoEditor SDK’s editor and passes the edited image back to Cordova.
I was in search of this functionality and founded a proper documentation for ionic Framework from PhotoEditor SDK . Please follow the instructions given here to add Photo Editing functionality in ionic app Quickstart for ionic Framework
Hope it will help someone.

Sound not working on cocos2D JS v.3 + IntelXDK + Cordova

I have a problem with the audio that is not working on Android or an emulator. But it is working on web apps. I have searched in Google but i can't find the solution.
Why does cc.audioEngine is not working while using Intel XDK ?
Instead using library of JS, you can build your own plugin of cordova to record / play audio on your android. Or search existing cordova plugin on github.
It's not that the XDK is "not working" it's that the webview and/or webview requirements don't meet the requirements of your cc.audioEngine library. I'm no expert on cc.audioEngine, but it appears to require Web Audio. That is not supported in the standard webview that you find in the typical Android device. This is why we provide the Crosswalk for Android build option. It includes the modern HTML5 features and APIs you take for granted in your desktop browser.
Try building with Crosswalk and debugging with the Debug tab. Both of those use the Crosswalk webview.

share to social iphone native code

I want to share messages to social networks from my phonegap application. For that i m creating plugin for iphone and android.
i found code for android:
String message = "Text I wan't to share."
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("text/plain");
share.putExtra(Intent.EXTRA_TEXT, message);
startActivity(Intent.createChooser(share, "Title of the dialog the system will open"));
But i can't able to find code for iphone.. can you please help me?
You can use FacebookConnect plugin authorise by Phonegap team.
This plugin provides a simple way to use Facebook Graph API in
Cordova.
This plugin is built for Cordova >= v2.1.0 with ARC. Both iOS &
Android are supported with the same javascript interface.
Use can also use Dave johnson's plugin, this also support iOS and Android platform.
The share Intent is part of the Android SDK and not iOS! Nothing like this exists for iOS and you will just have to integrate each social network separately.
You may want to look at this and this for facebook and twitter integration as these are now part of iOS (Twitter was integrated into iOS 5, Facebook in iOS 6).