NFC trigger opens web site

Post your questions and help other users.

Moderator: Martin

Post Reply
wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

NFC trigger opens web site

Post by wilsonch » 22 May 2018 18:31

I created a flow with a trigger and an action. The trigger is an NFC trigger. I used the app to write an Automagic tag onto an NFC tag. App reported success. Action plays a sound. All flows except this one are disabled. Samsung Note Edge. Android 6.0.1. Latest Automagic. If I execute the flow manually it runs without error and plays the sound file.

When I place the phone on the tag it makes the regular NFC sound and then opens a browser to an automagic4android URL that contains the tag ID at the end. I turned off all default actions for the Automagic app.

What is happening? How do I use an NFC tag in a simple flow like this?

wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

Re: NFC trigger opens web site

Post by wilsonch » 22 May 2018 18:48

The Automagic log does not show my flow is executed. I deleted all defaults for all browsers and turned off Android Beam and S Beam. Behavior unchanged.

wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

Re: NFC trigger opens web site

Post by wilsonch » 22 May 2018 18:55

The text Automagic wrote to the tag is "http://automagic4android.com/automagic_ ... r?id=AM_01"

wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

Re: NFC trigger opens web site

Post by wilsonch » 22 May 2018 19:00

Tag type I used was "Automagic tag ID (Recommended)"

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: NFC trigger opens web site

Post by digitalstone » 22 May 2018 19:08

Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

Re: NFC trigger opens web site

Post by wilsonch » 22 May 2018 19:35

The application manager does not let me specify a URL for which Automagic is the default app. My attempts to trick it via a browser produced no results.

wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

Re: NFC trigger opens web site

Post by wilsonch » 22 May 2018 20:20

I switched to using the not-recommended existing ID. It works.

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: NFC trigger opens web site

Post by digitalstone » 23 May 2018 06:13

Oh that's kind of special.
Maybe there is actually something about the url that isn't being picked up the way it should.

I make good use of NFC inside Automagic myself, using the Automagic ID-method.
I also tend to write as less as possible on the tags, single numbers.
They can later then be referred to whatever you like. Also it quicker/reliable (i believe).
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

wilsonch
Posts: 8
Joined: 13 Apr 2016 12:49

Re: NFC trigger opens web site

Post by wilsonch » 23 May 2018 11:26

digitalstone, thanks for your message. I was encouraged.

The solution, at least on my device: When you write the tag (in the Automagic format) you *must* check "include application record." It and another option were both unchecked by default on my device. Now the tag and flow work fine.

Post Reply