charleyw / cordova-plugin-alipay

Cordova支付宝插件,cordova alipay plugin
175 stars 75 forks source link

自动修改Url_Schema时多了个a #27

Closed feidianbo closed 8 years ago

feidianbo commented 8 years ago

plugin.xml文件第83行左右,如下:

    <config-file target="*-Info.plist" parent="CFBundleURLTypes">
      <array>
          <dict>
              <key>CFBundleURLName</key>
              <string>alipay</string>
              <key>CFBundleURLSchemes</key>
              <array>
                  <string>a$PARTNER_ID</string>
              </array>
          </dict>
      </array>
    </config-file>

导致生成的形如com.xxx.demo会变成acom.xxx.demo。

charleyw commented 8 years ago

因为PARTNER_ID是纯数字,纯数字的scheme提交appstore会报错。那个a是为了避免这种情况。

你说的acom.xxx.demo,应该不是这个引起的,你再检查一下看看。