Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 196
Registered: ‎12-14-2009
My Device: Not Specified
Accepted Solution

Invoke Card works when debug testing but not when device installed

I am registering a qml page from my app to be a target for the share menu. I have it setup in the xml config file.

Then in the cpp code I have it listen for invocation and if it is launched it goes to main.qml and if it is card invoke it goes to the cardinvoke.qml. Problem is when I test run it in Mometics it works fine...the card pops up as it is told to. But when I build a release version bar and then upload it to my device (after deleting the debug version and restarting) it instead is opening my main.qml when it is invoked by the share menu. Any ideas why this would change? I don't change any code whatesoever between testing it debug and uploading it to my device with a release build. My code is quite similar to the invoketarget example.

Highlighted
Developer
Posts: 196
Registered: ‎12-14-2009
My Device: Not Specified

Re: Invoke Card works when debug testing but not when device installed

I did a "Clean Project" on it and then exported a release build and now it is working. Smiley Happy