Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to view my activated plugins
Started by brian.gorham Nov 26 2015 01:16 AM

15 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

brian.gorham

[GLOBAL: userInfoPane.html]
brian.gorham
  • Observer

  • 18 posts
  • Corona SDK

I just activated Sprial Code Studio's QR plugin scanner through the plugin store, and added the correct plugin values to my build.settings. When I run my project it is giving me an error saying:

 

File: module 'plugin_qrscanner' not found

 
I have added it to my cart and processed the transaction, so it should be activated right? Just to confirm, I went to my corona account settings, then to order history, to find out that I have no order history...
 
What am I missing here? I am trying to include the plugin to my project to utilize the barcode scanner.
 
Thanks for the help, Brian


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

It may take a little while for it to show up for you.  Give it a few hours.

 

As far as seeing, if you go to the store page where you activated it, then you can go through there see what all is activated.

 

Rob



[TOPIC: post.html]
#3

brian.gorham

[GLOBAL: userInfoPane.html]
brian.gorham
  • Observer

  • 18 posts
  • Corona SDK

It may take a little while for it to show up for you.  Give it a few hours.

 

As far as seeing, if you go to the store page where you activated it, then you can go through there see what all is activated.

 

Rob

No success when I test, and still not present on my order page. It will not give me the option to purchase again, because it says it is active on the plugin store. Thanks for your help.



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Just out of curiosity can you post your build.settings please?

 

Thanks

Rob



[TOPIC: post.html]
#5

brian.gorham

[GLOBAL: userInfoPane.html]
brian.gorham
  • Observer

  • 18 posts
  • Corona SDK

plugins = {  
        ['plugin.qrscanner'] = {publisherId = 'com.spiralcodestudio'}
    }


[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Is that your entire build.settings?



[TOPIC: post.html]
#7

brian.gorham

[GLOBAL: userInfoPane.html]
brian.gorham
  • Observer

  • 18 posts
  • Corona SDK

Rob, I see your point. I was missing the outer settings brackets. All good now. -Thanks 



[TOPIC: post.html]
#8

15030137

[GLOBAL: userInfoPane.html]
15030137
  • Observer

  • 8 posts
  • Corona SDK

i've already activated QR scanner plugin by spiral code studio. But as i ran the sample project provided it display " the 'plugin.qrscanner' library is not available on this platform."

 

How to fix this??

 

Izham



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Plugin's can take a few hours to catch up. Are  you still having the issue?

 

Can you also post your build.settings?

 

Are there more messages in the terminal window?

 

Rob



[TOPIC: post.html]
#10

15030137

[GLOBAL: userInfoPane.html]
15030137
  • Observer

  • 8 posts
  • Corona SDK

Yes, I'm still having this issue. Below is the build.settings and the terminal window:

settings = {
	orientation = {
		default = 'portrait',
		supported = {'portrait', 'portraitUpsideDown'},
	},
	iphone = {
        plist = {
			CFBundleIconFile = 'Icon.png',
			CFBundleIconFiles = {
				'Icon.png',
				'Icon@2x.png',
				'Icon-60.png',
				'Icon-60@2x.png',
				'Icon-60@3x.png',
				'Icon-72.png',
				'Icon-72@2x.png',
				'Icon-76.png',
				'Icon-76@2x.png',
				'Icon-Small.png',
				'Icon-Small@2x.png',
				'Icon-Small@3x.png',
				'Icon-Small-40.png',
				'Icon-Small-40@2x.png',
				'Icon-Small-50.png',
				'Icon-Small-50@2x.png'
			}
		}
	},
	plugins = {
        ['plugin.qrscanner'] = {publisherId = 'com.spiralcodestudio'}
    }
}

Attached File  Capture.PNG   16.52KB   0 downloads

 

 



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Have you tried building for a device yet?

 

Rob



[TOPIC: post.html]
#12

15030137

[GLOBAL: userInfoPane.html]
15030137
  • Observer

  • 8 posts
  • Corona SDK

I havent integrate it in my app yet. I'm just trying the sample project provided through emulator.

maybe i should try it in my app and try it on a device. Thank you Rob.

 

 

Izham



[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

You can always wrap your code that is device only in an "if" statement that tests if you're on the simulator or not.

if "simulator" ~= system.getInfo("environment") then
     -- do device specific stuff
end

Rob



[TOPIC: post.html]
#14

15030137

[GLOBAL: userInfoPane.html]
15030137
  • Observer

  • 8 posts
  • Corona SDK

Hi Rob,

 

Honestly, I am new to corona. I ran into a runtime error when i tried to run my app on my phone. It display as below:

 

Attached File  Screenshot_2016-01-11-14-02-411.jpg   347.55KB   0 downloads

 

really hope to hear from you soon. thank you.

 

Izham



[TOPIC: post.html]
#15

15030137

[GLOBAL: userInfoPane.html]
15030137
  • Observer

  • 8 posts
  • Corona SDK

Its ok, that is no longer an issue. Now focusing back on the QR scanner. I've a question, can corona generate the qr code? What I mean is that the information of qr code is within the app that I'm developing instead of it act as "link". Is it possible??

 

Izham



[TOPIC: post.html]
#16

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

I suppose that you could come up with an algorithm to generate one and create a bunch of display.newRect()'s for each pixel in the code, but it would be far easier to use a native.newWebView() and have one generated on line.

 

Rob




[topic_controls]
[/topic_controls]