Coder Social home page Coder Social logo

Comments (7)

kolbasa avatar kolbasa commented on July 27, 2024

Sure, that's what I'm here for.

Can you give me the output of ionic info. That would be helpful.

from cordova-plugin-apkupdater.

noelbank00 avatar noelbank00 commented on July 27, 2024

Ionic:
Ionic CLI : 6.19.1 ([...]\Roaming\npm\node_modules@ionic\cli)
Utility:

cordova-res : not installed globally
native-run : 1.6.0

System:

Android SDK Tools : 26.1.1 ([..]\AppData\Local\Android\Sdk)
NodeJS : v16.15.0 (D:\Program Files\nodejs\node.exe)
npm : 8.5.5
OS : Windows 10

Only i get this informations

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on July 27, 2024

You need to run the command (ionic info) in your ionic project folder.

from cordova-plugin-apkupdater.

noelbank00 avatar noelbank00 commented on July 27, 2024

Ohh ye, when i resize cmd window some line is get cleared, full response:

Ionic:

   Ionic CLI                     : 6.19.1 (C:\Users\bankn\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 6.1.7
   @angular-devkit/build-angular : 13.2.6
   @angular-devkit/schematics    : 13.2.6
   @angular/cli                  : 13.2.6
   @ionic/angular-toolkit        : 6.1.0

Cordova:

   Cordova CLI       : 11.0.0
   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

   cordova-res : not installed globally
   native-run  : 1.6.0

System:

   Android SDK Tools : 26.1.1 (C:\Users\bankn\AppData\Local\Android\Sdk)
   NodeJS            : v16.15.0 (D:\Program Files\nodejs\node.exe)
   npm               : 8.5.5
   OS                : Windows 10

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on July 27, 2024

So for Ionic + Cordova, installing the plugin with ionic cordova plugin add cordova-plugin-apkupdater should be enough.

I need to update the readme. The cordova-androidx-build is actually no longer needed if you use the latest cordova-android platform.

Here is a complete example with an empty project:

# Create empty project directory
ionic start app blank --type=angular --cordova --no-interactive

# Navigate to new project directory
cd app

# Install the ApkUpdater Plugin
ionic cordova plugin add cordova-plugin-apkupdater

# Add Android Platform
ionic cordova platform add android

# Run on device/emulator
ionic cordova run android

Once the app is launched then open via Chrome chrome://inspect/#devices and inspect the app.
This is the easiest way to check if the plugin was installed correctly.
Simply enter ApkUpdater in the console. If everything went smoothly, all available functions should now be listed.

image

from cordova-plugin-apkupdater.

noelbank00 avatar noelbank00 commented on July 27, 2024

I create a new empty project with ur instructions, but the problem still exist.
image

I push my code the public repository, can u check then?

https://github.com/noelbank00/ionic-apk-updater

Has an ionic-info.txt with the ionic info output for more information.

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on July 27, 2024

The project from the public repository is fine. For me the plugin is installed correctly.

git clone https://github.com/noelbank00/ionic-apk-updater
cd ionic-apk-updater
ionic cordova platform add android
ionic cordova run android

Maybe it has something to do with the live reloading ([webpack-dev-server] Live Reloading enabled.).
That's what it looks like when I launch your app.

image

from cordova-plugin-apkupdater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.