How call iPhone app from within iPhone standard call app - ios4

Here is the situation for the app.
My app is calling app.
So from standard or already exist "phone" app of iPhone (which allows us to call )
i want to launch my calling iPhone app if it satisfy certain condition.
how is there any way to do this?

You can launch the built-in phone app from your app, by using the tel: URL invocation. However, there is no way to get the standard phone app to invoke your application.

Related

Call Flutter web app from Node js function firebase

I am building a ticketing application that listens to Gmail mailbox, basically, every time an email is received a new document in a collection should be created that stores the mail body subject and the attachments
I don't have experience in Node js
is it possible to call a Flutter web app page example
myapp.web.app/email-scan
using scheduled cloud function every 10 minutes
Is it possible to call a Flutter web app page example
myapp.web.app/email-scan?
Yes, it is totally possible. Since we use Node.js in Cloud Functions for Firebase, you can, for example, use the axios library to issue calls to an URL.
Here is an example: Calling a 3rd party api through a cloud function in firebase with AXIOS POST

Buildfire - Can I send users paths to the app outside of the app itself?

If I want a user fill out something within the app, can I give them a path that leads to the plugin within the app itself? For example when you try to open a google maps link on your phone and you have the google maps app it will just open the app.
If you are looking to deep-link into the app from outside your app, this is achieved through custom schema and a deep-link. So each app is issued a unique schema on the OS. You're used to schemas like "http" or "ftp" and so on. Custom schemas are registered on the OS to let then operating system know if they see this schema/protocol that your app is responsible for consuming it. For example, facebook is "fb://". You can contact customer support to see if your app has been issued one and what is it.
The second part of this is to deep-link to a particular plugin you can find a quick shortcut to it on the control side of your plugin in the Control Panel
.
Once you've gotten the app to open, then made it navigate to the plugin you want. The last step is optional but good to know. YOu can pass query-string parameters to the plugin so it may take further action from within. For example, you can have it prefill information or navigate to a subsection of the plugin.
Here is an example:
app683a5d://plugin/cb705192-fe4c-44e9-8032-34c9ee0a186a-1560793060569?firstName=Daniel&tel=555-555-5555
app683a5d:// Tells the OS which app to open
plugin/cb705192-fe4c-44e9-8032-34c9ee0a186a-1560793060569 tells the app which plugin instance to open
?firstName=Daniel&tel=555-555-5555 passes along data to the plugin to consume
Here are some helpful references:
Deep-Links https://github.com/BuildFire/sdk/wiki/Deep-Links
Navigation from within the app https://github.com/BuildFire/sdk/wiki/How-to-use-Navigation

Native Client use outside of the Chrome App Store

I have successfully created a Native Client app that works using localhost and works once posted to the Chrome App Store.
I now need to find a way to embed this app in a web page outside of the App Store, which currently fails.
I've read that the usage of the nacl_io and specifically sockets is ONLY accessible when published via the Chrome App Store?
I also came across this https://developer.chrome.com/extensions/apps (I know it's essentially discontinued). Is there a replacement that could work? Or is it just the Chrome App Store?
The <embed> tag is mentioned here (https://developer.chrome.com/native-client/devguide/coding/application-structure). Am I right in saying even if we got this to load the .hmf file and communicate with the .pexe that it would still fail when using sockets due to the application not being passed through the Chrome App Store?
Any advice is welcome
Socket access is only allowed for applications in the Chrome Web Store. Similarly, Native Client applications (e.g. using a .nexe file) are also only allowed on the Chrome Web Store.
You can run a Portable Native Client (PNaCl) application on the open web, but it will not have access to the socket API.
nacl_io is still available to use. It's only the socket API that will fail if you try to use it.
You can still use the URLLoader and WebSocket APIs, though. Perhaps these will be enough for your application?

How to send iPhone app in background?

I want to create an app that work in background. In this first I allows from the user that this app work in background .
After this as the app will go in background that work efficiently and send me information which I want .
So , please tell me how I can execute this in my iPhone application.
Every suggestion will be appreciated.
Thanks,
Cp
You can use the applicationDidEnterBackground method in your UIApplicationDelegate class to react to the event that your app is entering background. There's a corresponding willEnterForeground method.
What you can not do is to create an app whose sole purpose is to run in the background. There's no "start in background" action, from what I know you can't manually force an app to enter background while it's running. And unless you provide some useful user functionality in the app's user interface, Apple will not allow your app on the App Store.

Log out the user on the iOS 4 with HTTPBasicAuthentication

I am programming an iPhone application. My (existing) web-application uses Ruby on Rails (2.3.2) to serve the data. Ruby on Rails backend uses restful-authentication gem to authenticate the users.
To get user data from the server to the iPhone app I use HTTPRiot framework and authenticate user with HTTPBasicAuthentication.
Now everything works fine - user can get and post some data to and from the iPhone app. But when I want to log out the user from the service it seems impossible. From the different topics I understood that logout was just not implemented in HTTPBasicAuthentication and I completely OK with that. I tried to find a work around like implementing a switch in the Settings.app to force my app to display the login screen when user goes back to the app.
The problem is: iOS4 keeps connection kind of "open" when app is entering background. To log out from HTTPBasicAuthenticated connection, this connection needs to be broken. Using this approach my user needs to quit the app, turn the switch on in the Settings.app, delete my app from multitasking and start my app again. This is too dirty.
My question is: is there a cleaner way to logout/change the user without completely leaving the application?
Some references: HTTPRiot, Logout and basic auth, Logout and basic auth 2

Resources