cocos2d-x / plugin-x

Plugin-x is the plugin repository for cocos2d-x, it also provides a unified API for plugins.
71 stars 91 forks source link

what does "keyword" in androidManifest.xml do? #118

Open enhhh opened 9 years ago

enhhh commented 9 years ago

hi. i see an element "keyword" in androidManifest.xml. but in modifyManifest.py only uses to checking activity

    # check config for application
    appCfgNode = sourceRoot.find('applicationCfg')
    if appCfgNode is not None and len(appCfgNode) > 0:
        appKeyWord = appCfgNode.get('keyword')

        if appKeyWord != None and len(appKeyWord) > 0:
            keyIndex = targetContent.find(appKeyWord)
            if -1 == keyIndex:
                bRet = True
                for node in list(appCfgNode):
                    root.find('application').append(node)

if I want to add a new sdk into plugin-x.what should I do.