-
Notifications
You must be signed in to change notification settings - Fork 70
Clarification of files location #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny typo and some discussion.
I was only able to get this plugin to work because of this PR! Specifically the image of the iOS setup in xcode. Thanks to all involved!
@@ -15,7 +15,7 @@ public class Constant { | |||
public static let Loop = "loop" | |||
|
|||
public static let ErrorAssetId = "Asset Id is missing" | |||
public static let ErrorAssetPath = "Asset Path is missing" | |||
public static let ErrorAssetPath = "Asset Path is missing or audio file can't be find" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public static let ErrorAssetPath = "Asset Path is missing or audio file can't be find" | |
public static let ErrorAssetPath = "Asset Path is missing or audio file can't be found" |
@@ -5,7 +5,7 @@ public class Constant { | |||
public static final String ERROR_AUDIO_ID_MISSING = "Audio Id is missing"; | |||
public static final String ERROR_AUDIO_ASSET_MISSING = "Audio Asset is missing"; | |||
public static final String ERROR_AUDIO_EXISTS = "Audio Asset already exists"; | |||
public static final String ERROR_ASSET_PATH_MISSING = "Asset Path is missing"; | |||
public static final String ERROR_ASSET_PATH_MISSING = "Asset Path is missing or audio file can't be find"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public static final String ERROR_ASSET_PATH_MISSING = "Asset Path is missing or audio file can't be find"; | |
public static final String ERROR_ASSET_PATH_MISSING = "Asset Path is missing or audio file can't be found"; |
@@ -62,7 +62,7 @@ Sync native files | |||
npx cap sync | |||
``` | |||
|
|||
On iOS, Android and Web, no further steps are needed. | |||
On iOS, Android and Web, no further steps are needed by stricly following the files location then just use the filename as *assetPath*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is better but the whole line is untrue if you need to open the project in xcode to get it working
Correct me if I am wrong but according to https://github.com/bazuka5801/native-audio-example/blob/master/src-capacitor/android/app/src/main/assets/fire.mp3 android directory is |
Hi guys, just added some clarification.