Skip to content

Cannot Use Pods Inside App Extensions #5244

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
aeliusdev opened this issue Feb 6, 2020 · 1 comment
Open

Cannot Use Pods Inside App Extensions #5244

aeliusdev opened this issue Feb 6, 2020 · 1 comment
Labels

Comments

@aeliusdev
Copy link

aeliusdev commented Feb 6, 2020

  • CLI: 6.3.2
  • Cross-platform modules: 6.3.2
  • Android Runtime: 6.3.1
  • iOS Runtime: 6.3.0
  • Plugin(s):
"@nstudio/nativescript-pulltorefresh": "^1.1.1",
    "colorsys": "^1.0.22",
    "credit-card-type": "^8.2.0",
    "dotenv": "^7.0.0",
    "google-geocoder": "^0.2.1",
    "moment": "^2.24.0",
    "nativescript-apple-sign-in": "^1.0.0",
    "nativescript-background-http": "^4.2.0",
    "nativescript-cardview": "^3.2.0",
    "nativescript-checkbox": "^3.0.3",
    "nativescript-color-picker": "^1.6.0",
    "nativescript-directions": "^1.3.1",
    "nativescript-email": "^1.5.5",
    "nativescript-fingerprint-auth": "^7.0.2",
    "nativescript-geolocation": "^5.1.0",
    "nativescript-gif": "^4.0.2",
    "nativescript-imagepicker": "^7.1.0",
    "nativescript-iqkeyboardmanager": "^1.5.1",
    "nativescript-loading-indicator": "^2.5.2",
    "nativescript-mapbox": "^4.4.1",
    "nativescript-masked-text-field": "^4.0.3",
    "nativescript-phone": "^1.4.0",
    "nativescript-plugin-firebase": "^10.3.3",
    "nativescript-stripe": "^6.0.0",
    "nativescript-theme-core": "^2.0.23",
    "nativescript-vue": "^2.4.0",
    "tns-core-modules": "~6.3.0",
    "vuex": "^3.1.0"

Currently, I cannot use pods inside App Extensions with nativescript.

It tries to install pods before adding the App Extension to the project.

For example:

App_Resources/iOS/Podfile
end target 'AppExtension' do pod 'Firebase/Messaging' end
Build Error:
[!] Unable to find a target named `AppExtension`, did find ``ProjectNameHere`.
'pod install' command failed.`

This means it's impossible to have images appear on iOS notifications with Firebase.

@rosen-vladimirov
Copy link
Contributor

Hey @aeliusdev ,
Currently it is not possible to use Pods for your App Extension. However, you can use additional frameworks, as described in our docs.
I'm marking this issue as feature request.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants