title: Ionic Cordova - ion-input doesn't work from apk app
body: <p>My Ionic app works perfectly when testing in browser through <code>ionic cordova run browser</code>, works perfectly when testing on device through <code>ionic cordova run android --device</code>, but for some reason, when installed from apk (both offline and from Play Store), text inputs  simply don't work.</p>
  
  <p>Other inputs like <code>&lt;ion-radio&gt;</code> and <code>&lt;ion-select&gt;</code> are working fine, but <code>&lt;ion-input&gt;</code> inputs don't. The keyboard doesn't appear. I tap, tap, and nothing happens.</p>
  
  <p>Procedures I took:</p>
  
  <p>I've already tried building for Android versions 19, 22 and 23. I'm using SDK only (not Android Studio) and I'm installing packages via command line. Here is the version 23 example:</p>
  
  <pre><code>sdkmanager.bat "platform-tools" "platforms;android-23" "build-tools;23.0.3" "extras;android;m2repository"
  </code></pre>
  
  <p>For building the app, I'm running the following command:</p>
  
  <pre><code>ionic cordova build android --release --prod
  </code></pre>
  
  <p>That's my key generation command:</p>
  
  <pre><code>keytool -genkey -v -keystore curso-spring-ionic-key.jks -keyalg RSA -keysize 2048 -validity 100000 -alias curso-spring-ionic
  </code></pre>
  
  <p>And then I sign the apk using this:</p>
  
  <pre><code>jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore curso-spring-ionic-key.jks android-release-unsigned.apk curso-spring-ionic
  </code></pre>
  
  <p>And finally zipalign:</p>
  
  <pre><code>zipalign -v 4 android-release-unsigned.apk SistemaPedidos.apk
  </code></pre>
  
  <p>That's my home page login form, which works perfectly in debug mode, but its inputs are not working when installed from apk:</p>
  
  <pre><code>&lt;ion-content padding&gt;
    &lt;h3&gt;Sistema de pedidos&lt;/h3&gt;
  
    &lt;img src="assets/imgs/tela-inicial.png" alt="logo"&gt;
  
    &lt;form&gt;
      &lt;ion-item&gt;
        &lt;ion-label&gt;Email&lt;/ion-label&gt;
        &lt;ion-input [(ngModel)]="creds.email" name="email" type="text"&gt;&lt;/ion-input&gt;
      &lt;/ion-item&gt;
      &lt;ion-item&gt;
        &lt;ion-label&gt;Senha&lt;/ion-label&gt;
        &lt;ion-input [(ngModel)]="creds.senha" name="senha" type="password"&gt;&lt;/ion-input&gt;
      &lt;/ion-item&gt;
      &lt;button ion-button block (click)="login()"&gt;Entrar&lt;/button&gt;
    &lt;/form&gt;
    &lt;button ion-button block outline (click)="signup()"&gt;Registrar&lt;/button&gt;
  
  &lt;/ion-content&gt;
  </code></pre>
  
  <p>I really don't know what to do. I've spend the whole day trying different Android versions and input variations with no success. Can anyone help me figure out what is making the inputs not work? Thanks.</p>