We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On the root of the android project app/platforms/android must exists a file fabric.properties with the following data
app/platforms/android
fabric.properties
apiSecret=FABRIC_API_SECRET
I think this file must be crreate on the prepare stage using the hook after_prepare
The text was updated successfully, but these errors were encountered:
I have added this file but I dont have experience with this kind of plugins
hooks/after_prepare.js
var fs = require("fs"); var path = require("path") var utilities = require("./lib/utilities"); module.exports = function(context) { if (platforms.indexOf("android") !== -1) { var config = utilities.getPluginConfig("android"); var filePath = path.join("..", "..", "..", "fabric.properties"); fs.writeFileSync(filePath, "apiSecret=" + config.apiSecret); } };
Sorry, something went wrong.
Facing the same issue, does your solution work? Would this be something to create a pullrequest for?
No branches or pull requests
On the root of the android project
app/platforms/android
must exists a filefabric.properties
with the following dataI think this file must be crreate on the prepare stage using the hook after_prepare
The text was updated successfully, but these errors were encountered: