mygro插件中命名标准定义
<h1>mygro插件中命名标准定义</h1>
<h2>插件app模块名称定义</h2>
<p>即方法<code>AppRegistry.registerComponent(appName, () =&gt; setup);</code>中注册的<code>appName</code>的名称(插件app模块名)命名规则:</p>
<p><strong> app名称+功能模块名称+细分名称(可选,如机型,全小写移除空格)</strong></p>
<p>示例:</p>
<ul>
<li>
<p>如设备控制模块:<code>myGro-device-infinity2000pro</code>, <code>myGro-device-helios3600</code> etc</p>
</li>
<li>如升级及配网模块:<code>myGro-upgrade</code>, <code>myGro-networkconfigure</code></li>
</ul>
<h2>打包时自动生成包信息json</h2>
<pre><code>{
&quot;name&quot;: &quot;myGro-device-infinity2000pro&quot;,
&quot;versionNumStr&quot;: &quot;2.6.0&quot;,
&quot;specName&quot;: &quot;infinity2000 pro&quot;,
&quot;createTimeStr&quot;: &quot;2024-02-19 09:55:46&quot;
}</code></pre>
<h2>插件模块定义</h2>