Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to re-download a plugin?
Started by awvieweg Dec 18 2015 01:11 PM

4 replies to this topic
plugin download parse
[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

awvieweg

[GLOBAL: userInfoPane.html]
awvieweg
  • Observer

  • 10 posts
  • Corona SDK

Hello!

 

I recently downloaded the Parse plugin but I accidentally deleted my Corona Simulator files shortly thereafter.  I just re-downloaded Corona but I can't get the Parse plugin back; the "Download" button now says "Activated," but I can't use the plugin....

 

Any suggestions?

 

Thanks!



[TOPIC: post.html]
#2

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

You don't "download" plugins.  Once they are activated you need to include them in your build.settings:

settings =
{
    plugins =
    {
        ["plugin.parse"] =
        {
            -- required
            publisherId = "com.myParseID",
        },
    },      
}


[TOPIC: post.html]
#3

awvieweg

[GLOBAL: userInfoPane.html]
awvieweg
  • Observer

  • 10 posts
  • Corona SDK

 

You don't "download" plugins.  Once they are activated you need to include them in your build.settings:

settings =
{
    plugins =
    {
        ["plugin.parse"] =
        {
            -- required
            publisherId = "com.myParseID",
        },
    },      
}

I've tried this and using publisherId = "com.develephant" which the API said to use, I get a large error starting with:

 

module 'parse.plugin' not found:

no filed package.preload['parse,plugin']

no file: '~\Corona Labs\Corona Simulator\Plugins\parse\plugin.lua' etc.

 

Any suggestions?



[TOPIC: post.html]
#4

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

Can you show your main code where you instantiate the plugin?  Also what version of Corona are you using?



[TOPIC: post.html]
#5

awvieweg

[GLOBAL: userInfoPane.html]
awvieweg
  • Observer

  • 10 posts
  • Corona SDK

com.develephant is not YOUR Parse ID.  You need to insert your own personal ID there.

 

Can you show your main code where you instantiate the plugin?  Also what version of Corona are you using?

 

I figured it out.  I was using local parse = require( 'parse.plugin')

 

instead of plugin.parse




[topic_controls]
[/topic_controls]