Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7480

If you enable services on your Titanium app (non-platform), Appc Studio cannot replace your ACS keys

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.0.0
    • Component/s: Cloud
    • Labels:
    • Environment:

      Appcelerator Studio, build: 4.0.0.201505051524
      Appc CLI NPM: 0.3.55
      Appc CLI Registry: 0.2.279
      OS: Yosemite (10.10.3), Windows 8.1

      Description

      Details: If you enable services on your Titanium app (non-platform), Appc Studio cannot replace your ACS keys.

      Note:

      • You can still import a Titanium app (non-platform) via Appc CLI: appc new --import
      • Appc Studio uses this command to import Titanium App (non-platform):

        "/usr/local/bin/appcelerator" "new" "--import" "--project-dir" "/Users/wluu/Documents/Titanium_Studio_Workspace/monkeyTiBob" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "--prompt-type" "socket-bundle" "--prompt-port" "53395"
        

      Steps to reproduce:

      1. Download and unzip monkeyTiBob.zip; monkeyTiBob is a Titanium app (non-platform) that has ti.cloud enabled
      2. Next in Appc Studio, open the Dashboard, click on Import an existing project, select Existing Mobile Project, select monkeyTiBob, and click on Finish button
      3. Open the tiapp.xml; wait for Enable Services button to appear
      4. Next, click on Enable Services button
      5. Wait for the prompt to replace your ACS keys
      6. Click Yes

      Actual: Cloud is not enabled on tiapp.xml (see attachment) and ACS keys are still:

      <property name="acs-api-key-production" type="string">kfyx9HTANZwxiGyAmcvqmIrwIUKfghYp</property>
      <property name="acs-api-key-development" type="string">RAC8nQBETR0pPbjtD8WgHodhMecDB1BG</property>
      

      Expected: Cloud should be enabled on tiapp.xml and new ACS keys should be different i.e. ACS keys should match on platform.appcelerator.com.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                wluu Wilson Luu (Inactive)
                Reviewer:
                Christopher Williams
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: