Giter VIP home page Giter VIP logo

Comments (13)

diegog-sf avatar diegog-sf commented on July 29, 2024 1

You must register the splash_icon in your res folder as follows. If you register it inside the package, it will not be customizable, that's why its not done there. I'll document this later on.

image

from twilio_voice.

diegogarciar avatar diegogarciar commented on July 29, 2024 1

No I don't think so, but thank you anyway!

from twilio_voice.

diegogarciar avatar diegogarciar commented on July 29, 2024

Hello, have you follow the steps for pro guard file?

from twilio_voice.

EngYasmeenMahmoud avatar EngYasmeenMahmoud commented on July 29, 2024

hello,
where this file??
i searched for this issue and find this solution
and now it work fine

from twilio_voice.

AnnieNinaJoyceV avatar AnnieNinaJoyceV commented on July 29, 2024

@EngYasmeenMahmoud Can you please share how you were able to resolve it? I have encountered the same issue. Thanks!

from twilio_voice.

EngYasmeenMahmoud avatar EngYasmeenMahmoud commented on July 29, 2024

i solve this issue by creating new repsitory and add splash_icon to drawable folder and import twilio voice n my application as this
twilio_voice:
git:
url: https://github.com/EngYasmeenMahmoud/twilio.git
ref: master

from twilio_voice.

AnnieNinaJoyceV avatar AnnieNinaJoyceV commented on July 29, 2024

@diegog-sf I tried by adding the splash icon, but it gives the same error with the following command

flutter build apk -t lib/main_stag.dart --no-shrink --obfuscate --split-debug-info build/app/outputs/symbols

Error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':twilio_voice:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/Users/joyce/development/flutter/.pub-cache/hosted/pub.dartlang.org/twilio_voice-0.0.9/android/src/main/res/layout/activity_answer.xml:17: AAPT: error: resource drawable/splash_icon (aka com.twilio.twilio_voice:drawable/splash_icon) not found.

 /Users/joyce/development/flutter/.pub-cache/hosted/pub.dartlang.org/twilio_voice-0.0.9/android/src/main/res/layout/activity_background_call.xml:18: AAPT: error: resource drawable/splash_icon (aka com.twilio.twilio_voice:drawable/splash_icon) not found.

Screenshot 2021-10-27 at 6 55 34 PM

from twilio_voice.

diegogarciar avatar diegogarciar commented on July 29, 2024

Hello, Try putting them in drawable-XXX folders
image

from twilio_voice.

AnnieNinaJoyceV avatar AnnieNinaJoyceV commented on July 29, 2024

Oh, sorry didn’t notice the folder names. I will try this and update tomorrow. Thanks!

from twilio_voice.

AnnieNinaJoyceV avatar AnnieNinaJoyceV commented on July 29, 2024

@diegogarciar I tried putting them inside drawable-{-} folders, even then it didn't work. But, using @EngYasmeenMahmoud fork, builds without issues.

from twilio_voice.

diegogarciar avatar diegogarciar commented on July 29, 2024

Thanks @AnnieNinaJoyceV for letting me know, and have you checked out which image it ended up using when receiving a call in the background, you're or his?

from twilio_voice.

AnnieNinaJoyceV avatar AnnieNinaJoyceV commented on July 29, 2024

My app doesn’t use incoming call feature, or the CallKit feature in general. So I cannot test with that scenario. Is there some other way I can test it?

from twilio_voice.

cybex-dev avatar cybex-dev commented on July 29, 2024

Closing.

from twilio_voice.

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.