GithubHelp home page GithubHelp logo

Comments (15)

tgpetrov avatar tgpetrov commented on June 15, 2024 1

I managed to reproduce the same issue. Just created a new app from NativeScript templates (tried with both blank-ts and blank-ng. Then built the app for android and tried to push a release. It seems like this plugin is looking for 'AndroidManifest.xml' directly inside App_Resources/Android, while the manifest is actually in App_Resources/Android/src/main. It is also present in platforms/android/app/src/main after app is built.

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024 1

With plugin version 2.0.2 we drag in CodePush CLI version 1.0.7 which has a few changes to fix the build error on Android @tgpetrov mentioned, and also fixes a similar issue on iOS for projects using dashes (like blank-ng).

I hope this also solves the trouble for @max-pro.

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

What's the old project? Not that 1.0 of this plugin connected to Microsoft's CodePush server whereas 2.0.0 connects to ours. If you have a project you used with 1.0 you should not upgrade to 2.0. Note that we're thinking about renaming this 2.0 project to avoid confusion.

Btw, there's a space in your project path, could that be the cause of the issue?

from nativescript-app-sync.

max-pro avatar max-pro commented on June 15, 2024

I'm talking about my old project not codepush old version.Currently i'm using code push version: 2.0
I used nativescript-code-push release demoTesting android --mandatory --targetBinaryVersion *
after that app showing no pending update.

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

Please share a repo. I can’t make sense of this otherwise.

from nativescript-app-sync.

max-pro avatar max-pro commented on June 15, 2024

https://drive.google.com/drive/folders/19eMzGzpBNYgBPl9U87xLMvwXt06wh_8R?usp=sharing

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

Would you mind sharing some instructions as well?

from nativescript-app-sync.

max-pro avatar max-pro commented on June 15, 2024

Code push not getting an update. Always showing no pending update. I push code using
nativescript-code-push release demoTesting android --mandatory --targetBinaryVersion *

nativescript-code-push deployment history demoTesting Staging it shows update version.

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

I don't have your login credentials so I can't check that you have a pending version and neither if the deployment key (ejGDAjUi1vZoNOyROql1Jqv2M8lkajaGyFMsa) matches the release channel...

from nativescript-app-sync.

max-pro avatar max-pro commented on June 15, 2024

I got deployment key using
nativescript-code-push deployment ls demoTesting --displayKeys
image

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

That's all looking legit. When you run nativescript-code-push -v, does it say 1.0.5? If so, can you please send me your login to eddyverbruggen at gmail dot com so I can try running your app?

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

I cloned your repo and ran tns run ios from the root. It gave me this prompt (which seems fine):

Simulator Screen Shot - iPhone 6 - 2019-06-02 at 20 05 14

from nativescript-app-sync.

max-pro avatar max-pro commented on June 15, 2024

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

I don't know. Did you release an update for Android? I only tried it for iOS (see above).

from nativescript-app-sync.

EddyVerbruggen avatar EddyVerbruggen commented on June 15, 2024

@tgpetrov That would make sense, and also explain why it works for some projects but not for all (because one can configure the app_resources location). I'll investigate further.

from nativescript-app-sync.

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.