How to check if NFC available for iOS using ionic? - ionic-framework

I wanted to know is it possible to check using ionic if iOS device has NFC functionality. I can use "PhoneGap NFC Plugin" but it only has nfc.beginSession() function which isn't what I need because it opens NFC reading window for iOS but I just want to check if available without opening any windows. I know that you can call in swift NFCNDEFReaderSession.readingAvailable() but is there a plugin which offers what I need?

The enabled() method of the phonegap-nfc plugin seems to do exactly what you want on iOS: it internally calls NFCNDEFReaderSession.readingAvailable().

Related

How can I access device information without using packages in Flutter?

How can I access device information without using packages in Flutter? How can I get the information of the device where the app is installed in my Flutter app?
First, you'd be better off using packages. But if you really want/need to do it, you'd have to write platform-specific code code in the native language of the targeted platform (ie. Swift or Objective-C for iOS/Mac, Kotlin or Java for Android, etc), then use so-called platform channels to pass messages between your app and the platform-specific code.
If you'd like to get details about the device, on iOS you'd use UIDevice, on Android you'd typically want Build.
This can only be done through Method Channel

How can I make the application run in the background on flutter?

I am creating a lock screen application on flutter for ios and android, I want the application to work in the background, i.e. when the phone screen is turned on, the window for entering the pin code of my application "pops out", how can this be done?
Well, there is no direct solution on flutter yet. For sure there is no solution for ios. You will have to write both java/kotlin and swift/objective c and use the invoke methods to call your native functions.
native is a word we use for the specific platform code. for example native android means java or kotlin and swift or objective c for ios.

is it possible to make an application for video calls in Ionic?

I need to write an application with video chats (1:1), and i know Angular. There are tons of SDKs for Angular(or web) to handle video calls(like e.g. twilio.com, agora.io?). But my client need mobile app. It's possible to write native app in Ionic with video calls support? However, do I have to use something more professional like flutter to achieve this?
Is there any ready SDK to handle this in Ionic?
I am looking, I am looking for and I cannot find anything. And I have to make quick decisions in part.
Please help me :)
Yes.
You can use the camera and the microphone with Ionic (in native or pwa mode).
Ionic fully supports Angular and Angular components.
I recommend you the use of notifications like Google FCM to notify the caller.
You can trigger an action directly from the notification (app in background or in app which is not the same).

Is it possible to add a video call feature on an app using Smartface App Studio?

Is it possible to add a video call feature on an app using Smartface App Studio?
I've tried cloning Viber using another software however it wasn't successful
Thankyou
Short answer: No;
Long answer: Maybe
Smartface doesn't have direct support for SIP/VoIP. For video you could use Sockets (however the problem still remains on video encoding).
However, to implement a video call feature I would recommend to do this using the native platform SDKs

How to initiate/send SMS from a HTML5 webpage using devices native functions?

I am wondering how can I open the send SMS application by using a web control of a HTML5 page on Android and iPhone. I want to use the device native SMS sending app, with a prepopulated value from the web.
Further to other answers I can confirm that smsto:555:bodytext does not work on an iPhone running iOS5.
What does work (and I've tested it) on Android is the format:
sms:444?body=hello
Example:
Tap to say hello!
On iPhone the ?body=hello will prevent it working at all, and you should use just sms:555 instead.
sms:555
Example
Tap to text us!
I have tested the below and it works:
Using HTML Anchor tag:
Subscribe
Using JavaScript:
window.open('sms:111?body=SUBSCRIBE', '_self');
With Android 3.0 SDK Google has started exposing API in HTML5 for device access. An example is listed here. It may not be enough for what you seek to do.
I dont know enough about iphone to advise either way.