Theoretically it is possible and should work without modifiaction of code (through I'm going to make some changes which would make it incompatible with dynamo because sometimes measured speed is 300-500 kmh which means, that one pulse is counted as two).
But you should be sure, that current from dynamo won't burn your phone. You need to limit maximal voltage generated by dynamo (which depends on speed you are riding).
Theoretically it is possible
Theoretically it is possible and should work without modifiaction of code (through I'm going to make some changes which would make it incompatible with dynamo because sometimes measured speed is 300-500 kmh which means, that one pulse is counted as two).
But you should be sure, that current from dynamo won't burn your phone. You need to limit maximal voltage generated by dynamo (which depends on speed you are riding).